Class CommentDefinition
java.lang.Object
com.aquima.interactions.expressions.tsl.parse.nodes.CommentDefinition
- All Implemented Interfaces:
IParseNode
This node holds a comment definition.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionCommentDefinition
(int position, String text) Constructs the comment node with the position and the comment string. -
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 comment.
-
Constructor Details
-
Method Details
-
getText
This method returns the text of the comment.- Returns:
- the text of the comment.
-
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.
-