Class BoxBooleanLiteral

All Implemented Interfaces:
IBoxLiteral, IBoxSimpleLiteral, BoxVisitable

public class BoxBooleanLiteral extends BoxExpression implements IBoxSimpleLiteral
AST Node representing a boolean value
  • Constructor Details

    • BoxBooleanLiteral

      public BoxBooleanLiteral(Boolean value, Position position, String sourceText)
      Creates the AST node
      Parameters:
      value - boolean value
      position - position of the statement in the source code
      sourceText - source code that originated the Node
    • BoxBooleanLiteral

      public BoxBooleanLiteral(String value, Position position, String sourceText)
  • Method Details