Package com.sonarsource.rpg.api.tree
Interface OperationTree
-
- All Superinterfaces:
CalculationTree
,Tree
- All Known Subinterfaces:
ExtendedFactor2SyntaxOperationTree
,FixedFormSyntaxOperationTree
,FreeFromSyntaxOperationTree
,TraditionalSyntaxOperationTree
public interface OperationTree extends CalculationTree
An individual operation: a calculation ("C") specification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
endLine()
List<ExpressionTree>
expressions()
boolean
hasExtender(char extender)
OperationCode
operationCode()
String
originalOperationCode()
-
-
-
Method Detail
-
operationCode
@CheckForNull OperationCode operationCode()
-
originalOperationCode
String originalOperationCode()
-
hasExtender
boolean hasExtender(char extender)
-
endLine
int endLine()
-
expressions
List<ExpressionTree> expressions()
- Returns:
- list of all expressions of the operation in the order in which they appear.
-
-