Class BoxExpression

java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.BoxExpression
All Implemented Interfaces:
BoxVisitable
Direct Known Subclasses:
BoxAccess, BoxArgument, BoxArrayLiteral, BoxAssignment, BoxBinaryOperation, BoxBooleanLiteral, BoxClosure, BoxComparisonOperation, BoxDecimalLiteral, BoxExpressionError, BoxExpressionInvocation, BoxFQN, BoxFunctionalBIFAccess, BoxFunctionalMemberAccess, BoxFunctionInvocation, BoxIdentifier, BoxIntegerLiteral, BoxLambda, BoxMethodInvocation, BoxNegateOperation, BoxNew, BoxNull, BoxParenthesis, BoxScope, BoxStaticMethodInvocation, BoxStringConcat, BoxStringLiteral, BoxStructLiteral, BoxTernaryOperation, BoxUnaryOperation

public abstract class BoxExpression extends BoxNode
Abstract class representing Expressions
  • Constructor Details

    • BoxExpression

      protected BoxExpression(Position position, String sourceText)
      Constructor
      Parameters:
      position - position of the expression in the source code
      sourceText - source code of the expression
  • Method Details

    • isLiteral

      public boolean isLiteral()
      Utility method to detect if an expression node is a terminal Literal
      Returns:
      true if it is false otherwise