Class FieldDefinition
java.lang.Object
com.aquima.interactions.expressions.tsl.parse.nodes.FieldDefinition
- All Implemented Interfaces:
IParseNode
Parse node representing a field (value) from a TSL expression.
- Since:
- 6.4
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionFieldDefinition
(int position, String fullExpression) Constructs the parse node with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the expression that should be used to acquire the field value.This method returns the format that should be applied to the field value.int
This method returns the position in the original text where the node started.
-
Constructor Details
-
FieldDefinition
Constructs the parse node with the required arguments.- Parameters:
position
- The position of the field in the TSL expression.fullExpression
- The expression that should be used to acquire the field value.
-
-
Method Details
-
getExpression
This method returns the expression that should be used to acquire the field value.- Returns:
- the expression that should be used to acquire the field value.
-
getFormat
This method returns the format that should be applied to the field value.- Returns:
- the format that should be applied to the field value.
-
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.
-