Class BoxIdentifier
java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.BoxExpression
ortus.boxlang.compiler.ast.expression.BoxIdentifier
- All Implemented Interfaces:
Named
,BoxVisitable
AST Node representing a switch case statement
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBoxIdentifier
(String name, Position position, String sourceText) Creates the AST node -
Method Summary
Methods inherited from class ortus.boxlang.compiler.ast.BoxExpression
isLiteral
Methods inherited from class ortus.boxlang.compiler.ast.BoxNode
addComment, associateComments, endsOnSameLineAs, enumToMap, getAncestors, getChildren, getComments, getDescendants, getDescendantsOfType, getDescendantsOfType, getDescription, getDocComment, getFirstAncestorOfType, getFirstAncestorOfType, getFirstNodeOfType, getFirstNodeOfType, getFirstNodeOfTypes, getParent, getPosition, getSourceText, isAfter, isBefore, isInside, replaceChildren, replaceChildren, setComments, setParent, setPosition, setSourceText, startsOnEndLineOf, toJSON, toString
-
Constructor Details
-
BoxIdentifier
Creates the AST node- Parameters:
name
- name of the identifierposition
- position of the statement in the source codesourceText
- source code that originated the Node
-
-
Method Details
-
getName
Description copied from interface:Named
Return the name of the symbol -
setName
-
toMap
-
accept
Description copied from interface:BoxVisitable
Accept method for visitor support.- Specified by:
accept
in interfaceBoxVisitable
- Parameters:
v
- the visitor implementation
-
accept
Description copied from interface:BoxVisitable
Accept method for replacing visitor support. Each accept returns the node, or a replacement node.- Specified by:
accept
in interfaceBoxVisitable
- Parameters:
v
- the visitor implementation
-