Class BoxNull
java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.BoxExpression
ortus.boxlang.compiler.ast.expression.BoxNull
- All Implemented Interfaces:
IBoxSimpleLiteral,BoxVisitable
AST Node representing a string literal value
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccept method for replacing visitor support.voidAccept method for visitor support.getValue()booleanUtility method to detect if an expression node is a terminal LiteralMethods inherited from class ortus.boxlang.compiler.ast.BoxNode
addComment, associateComments, endsOnSameLineAs, enumToMap, getAncestors, getChildren, getComments, getDescendants, getDescendantsOfType, getDocComment, getFirstAncestorOfType, getFirstAncestorOfType, getFirstNodeOfType, getFirstNodeOfType, getFirstNodeOfTypes, getParent, getPosition, getSourceText, isAfter, isBefore, isInside, replaceChildren, replaceChildren, setComments, setParent, setPosition, setSourceText, startsOnEndLineOf, toJSON, toMap, toString
-
Constructor Details
-
BoxNull
Creates the AST node- Parameters:
position- position of the statement in the source codesourceText- source code that originated the Node
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceIBoxSimpleLiteral
-
isLiteral
public boolean isLiteral()Description copied from class:BoxExpressionUtility method to detect if an expression node is a terminal Literal- Overrides:
isLiteralin classBoxExpression- Returns:
- true if it is false otherwise
-
accept
Description copied from interface:BoxVisitableAccept method for visitor support.- Specified by:
acceptin interfaceBoxVisitable- Parameters:
v- the visitor implementation
-
accept
Description copied from interface:BoxVisitableAccept method for replacing visitor support. Each accept returns the node, or a replacement node.- Specified by:
acceptin interfaceBoxVisitable- Parameters:
v- the visitor implementation
-