Class TextDefinition
java.lang.Object
com.aquima.interactions.expressions.tsl.parse.nodes.TextDefinition
- All Implemented Interfaces:
IParseNode
Parse node representing (static) text from a TSL expression.
- Since:
- 6.4
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionTextDefinition
(int position, String text) Constructs the parse node with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionint
This method returns the position in the original text where the node started.getText()
This method returns the text of the parse node.
-
Constructor Details
-
Method Details
-
getText
This method returns the text of the parse node.- Returns:
- The text of the parse node.
-
getPosition
public int getPosition()Description copied from interface:IParseNode
This method returns the position in the original text where the node started.- Specified by:
getPosition
in interfaceIParseNode
- Returns:
- The character position in the original text where the node started.
-