Class VariableNode
- java.lang.Object
-
- com.aquima.interactions.expressions.parser.ParseNodeBase
-
- com.aquima.interactions.expressions.r7.parser.nodes.VariableNode
-
- All Implemented Interfaces:
IParseNode
- Direct Known Subclasses:
FieldVariableNode
,NamedVariableNode
public class VariableNode extends ParseNodeBase
This node represents a variable reference, which will usually be an attribute name.- Since:
- 6.0
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Constructor Description VariableNode(IdentifierNode variableName)
Constructs the node with the name of the variable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFullName()
Returns the full name with dotted notation from the variable node and it's parents.IdentifierNode
getVariableName()
This method returns the name of the variable.-
Methods inherited from class com.aquima.interactions.expressions.parser.ParseNodeBase
getEndPosition, getPosition, setPosition
-
-
-
-
Constructor Detail
-
VariableNode
public VariableNode(IdentifierNode variableName)
Constructs the node with the name of the variable.- Parameters:
variableName
- The name of the variable.
-
-
Method Detail
-
getVariableName
public IdentifierNode getVariableName()
This method returns the name of the variable.- Returns:
- the name of the variable.
-
getFullName
public String getFullName()
Returns the full name with dotted notation from the variable node and it's parents.- Returns:
- The full name with dotted notation from the variable node and it's parents.
-
-