Package | Description |
---|---|
com.sonarsource.rpg.api.tree |
Defines the interfaces which represent the RPG source code as a syntax tree structure.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryExpressionTree
Binary expression for operators such as "+", "-", "*", "/", "**", "AND", "OR" and comparison operators.
|
interface |
ExpressionListTree
A list of expressions.
|
interface |
IdentifierTree
An individual identifier used in an expression.
|
interface |
LiteralTree
A literal:
this can be a character literal, a numeric literal, etc.
|
interface |
ParenthesisedExpressionTree
An expression surrounded by parentheses.
|
interface |
PostfixExpressionTree
An expression followed by parentheses surrounding one or more other expressions:
this can be a call to a function (e.g.
|
interface |
QualifiedNameExpressionTree
A qualified name,
e.g.
|
interface |
StarIndexExpressionTree
This is the "*" in an expression such as
FAMILIES(*).NAME . |
interface |
UnaryExpressionTree
An expression composed of an operator and a single operand.
|
Modifier and Type | Method and Description |
---|---|
ExpressionTree |
QualifiedNameExpressionTree.expression() |
ExpressionTree |
PostfixExpressionTree.expression() |
ExpressionTree |
ParenthesisedExpressionTree.expression() |
ExpressionTree |
UnaryExpressionTree.operand() |
ExpressionTree |
BinaryExpressionTree.operand1() |
ExpressionTree |
BinaryExpressionTree.operand2() |
ExpressionTree |
SelectClauseTree.traditionalCondition() |
ExpressionTree |
IfGroupTree.traditionalCondition() |
ExpressionTree |
ElseClauseTree.traditionalCondition() |
Modifier and Type | Method and Description |
---|---|
List<ExpressionTree> |
PostfixExpressionTree.arguments() |
List<ExpressionTree> |
ExpressionListTree.elements() |
List<ExpressionTree> |
OperationTree.expressions() |
List<ExpressionTree> |
TraditionalSyntaxOperationTree.factor1Expressions() |
List<ExpressionTree> |
TraditionalSyntaxOperationTree.factor2Expressions() |
List<ExpressionTree> |
KeywordTree.parameters() |
List<ExpressionTree> |
TraditionalSyntaxOperationTree.resultExpressions() |
Copyright © 2014–2018 SonarSource. All rights reserved.