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 |
AdditionalOutputIndicatorsTree
Additional output indicators for an
OutputRecordTree defined with a logical relationship (AND or OR). |
interface |
BinaryExpressionTree
Binary expression for operators such as "+", "-", "*", "/", "**", "AND", "OR" and comparison operators.
|
interface |
CalculationTree
Interface implemented by all instances of
Tree representing a calculation,
whether they are a simple calculation operation or a complex group nesting other instances of CalculationTree . |
interface |
CasGroupTree
A group of CAS operations.
|
interface |
DataStructureDefinitionTree
Definition of a Data structure (definition type: "DS").
|
interface |
DefinitionTree
Interface implemented by all kinds of definitions ("D" specifications).
|
interface |
ElseClauseTree
|
interface |
ExpressionListTree
A list of expressions.
|
interface |
ExpressionTree
Common interface for all kinds of expressions.
|
interface |
ExtendedFactor2SyntaxOperationTree
An operation defined with an
Extended Factor 2 Syntax.
|
interface |
ExternallyDescribedInputFileFieldTree
A field
description entry for an externally described file.
|
interface |
ExternallyDescribedInputFileRecordTree
A record
identification entry for an externally described input file defined in an "I" specification.
|
interface |
FileDeclarationTree
A file declaration defined in an "F" specification.
|
interface |
FixedFormSyntaxOperationTree
An
operation defined with a fixed-form syntax. |
interface |
FreeFromSyntaxOperationTree
An operation defined with a free-form syntax.
|
interface |
IdentifierTree
An individual identifier used in an expression.
|
interface |
IfGroupTree
|
interface |
InputFileFieldTree
Common interface for fields in input declarations.
|
interface |
KeywordTree
A keyword used in a "H", "D", "F" or "P" specification, e.g.
|
interface |
KListTree
A KLIST operation.
|
interface |
LiteralTree
A literal:
this can be a character literal, a numeric literal, etc.
|
interface |
LoopTree
|
interface |
MainProcedureTree
The main procedure defined an an RPG file.
|
interface |
ModuleTree
Top-most
Tree of an analyzed RPG file. |
interface |
MonitorGroupTree
A MONITOR group.
|
interface |
NamedConstantDefinitionTree
Definition of a named constant.
|
interface |
OperationTree
An individual operation: a calculation ("C") specification.
|
interface |
OutputFieldTree
A field description entry defined inside an
OutputRecordTree . |
interface |
OutputFileDeclarationTree
An output file declaration defined inside an "O" specification.
|
interface |
OutputIndicatorsTree
Output indicators
for an
OutputRecordTree . |
interface |
OutputRecordTree
A record identification and control entry inside an
OutputFileDeclarationTree either for:
a program described file
or an externally described file.
|
interface |
ParameterDefinitionTree
A parameter within a
prototype or procedure interface
definition. |
interface |
ParameteredCalculationTree
A calculation which may have parameters defined with
PARM.
|
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 |
ProcedureInterfaceDefinitionTree
A procedure interface definition (definition type: "PI").
|
interface |
ProcedureTree
Common interface for all procedures:
MainProcedureTree or SubProcedureTree . |
interface |
ProgramDescribedInputDeclarationTree
A program
described input file declaration defined in an "I" specification.
|
interface |
ProgramDescribedInputFileFieldTree
|
interface |
ProgramDescribedInputFileRecordTree
A record
identification entry defined in a
ProgramDescribedInputDeclarationTree . |
interface |
PrototypeDefinitionTree
A prototype definition (definition type: "PR").
|
interface |
QualifiedNameExpressionTree
A qualified name,
e.g.
|
interface |
RecordIdentificationCodeTree
A Record
Identification Code defined inside a
ProgramDescribedInputFileRecordTree . |
interface |
SelectClauseTree
|
interface |
SelectGroupTree
A SELECT group.
|
interface |
SqlStatementTree
A SQL statement defined with fixed-form or free-form syntax using
EXEC SQL . |
interface |
StandaloneFieldDefinitionTree
Definition of a standalone field (definition type: "S").
|
interface |
StarIndexExpressionTree
This is the "*" in an expression such as
FAMILIES(*).NAME . |
interface |
SubFieldDefinitionTree
Definition of a data structure subfield.
|
interface |
SubProcedureTree
A subprocedure defined in an RPG module.
|
interface |
SubRoutineTree
A subroutine, starting with a
BEGSR operation.
|
interface |
SyntaxToken
The smallest part of any expression, e.g.
|
interface |
TraditionalSyntaxOperationTree
An operation defined with traditional syntax.
|
interface |
UnaryExpressionTree
An expression composed of an operator and a single operand.
|
Modifier and Type | Method and Description |
---|---|
List<Tree> |
MainProcedureTree.inputDeclarations() |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseTreeVisitor.scan(Tree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseTreeVisitor.scan(Iterable<? extends Tree> trees) |
Copyright © 2014–2018 SonarSource. All rights reserved.