Package com.sonarsource.rpg.api.tree
Interface ExpressionTree
-
- All Superinterfaces:
Tree
- All Known Subinterfaces:
BinaryExpressionTree
,ExpressionListTree
,IdentifierTree
,LiteralTree
,ParenthesisedExpressionTree
,PostfixExpressionTree
,QualifiedNameExpressionTree
,StarIndexExpressionTree
,UnaryExpressionTree
public interface ExpressionTree extends Tree
Common interface for all kinds of expressions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ExpressionTree.Kind
Precise kind of an expression.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTree.Kind
kind()
Iterable<SyntaxToken>
tokens()
-
-
-
Method Detail
-
kind
ExpressionTree.Kind kind()
- Returns:
- the precise kind of the expression
-
tokens
Iterable<SyntaxToken> tokens()
- Returns:
- list of all the tokens of the expression
-
-