Package org.sonar.plugins.jcl.api.tree
Interface ConcatenationTree
- All Superinterfaces:
BooleanExpressionTree,ExpressionTree,HasTextRange,JclTree
A concatenation of a strings with symbol values.
For example, all the following expressions are concatenations:
For example, all the following expressions are concatenations:
&SYM1.DATADATA&SYM1&SYM1..DATA&SYM1&SYM2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.jcl.api.tree.JclTree
JclTree.Kind -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of expression separated by the concatenation operators (the dot characters).Methods inherited from interface org.sonar.plugins.jcl.api.tree.HasTextRange
textRange
-
Method Details
-
expressions
List<ExpressionTree> expressions()- Returns:
- the list of expressions in the concatenation.
-
expressionsAndConcatenationsOperators
SeparatedList<ExpressionTree,SyntaxToken> expressionsAndConcatenationsOperators()Returns the list of expression separated by the concatenation operators (the dot characters).
If the concatenation operator is not present (for example in the case of&SYM1&SYM2), the separator in the list will be null.- Returns:
- the list of expressions separated by the concatenation operators.
-