Package | Description |
---|---|
com.sonarsource.rpg.api.checks |
Provides interfaces and classes to write checks on RPG source code.
|
com.sonarsource.rpg.api.tree |
Defines the interfaces which represent the RPG source code as a syntax tree structure.
|
Class and Description |
---|
BaseTreeVisitor
Basic implementation of
TreeVisitor which scans all the Tree s of an RPG file. |
ModuleTree
Top-most
Tree of an analyzed RPG file. |
TreeVisitor
Implementation of a Visitor pattern
to visit the Tree structure of an RPG file.
|
Class and Description |
---|
AdditionalOutputIndicatorsTree
Additional output indicators for an
OutputRecordTree defined with a logical relationship (AND or OR). |
BinaryExpressionTree
Binary expression for operators such as "+", "-", "*", "/", "**", "AND", "OR" and comparison operators.
|
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 . |
CasGroupTree
A group of CAS operations.
|
Comment
A comment defined in a comment line (with an asterisk in position 7) or starting with "//" in free-form syntax.
|
Comments |
CompilerDirective
A compiler directive such as
/FREE or /COPY MBR1 . |
CompilerDirectives
Set of all the
CompilerDirective s of a module . |
DataStructureDefinitionTree
Definition of a Data structure (definition type: "DS").
|
DefinitionTree
Interface implemented by all kinds of definitions ("D" specifications).
|
ElseClauseTree |
ExpressionListTree
A list of expressions.
|
ExpressionTree
Common interface for all kinds of expressions.
|
ExpressionTree.Kind
Precise kind of an expression.
|
ExtendedFactor2SyntaxOperationTree
An operation defined with an
Extended Factor 2 Syntax.
|
ExternallyDescribedInputFileFieldTree
A field
description entry for an externally described file.
|
ExternallyDescribedInputFileRecordTree
A record
identification entry for an externally described input file defined in an "I" specification.
|
FileDeclarationTree
A file declaration defined in an "F" specification.
|
FileDeclarationTree.Flag
One of the possible aspects of an "F" specification which are defined as a character.
|
FixedFormSyntaxOperationTree
An
operation defined with a fixed-form syntax. |
FreeFromSyntaxOperationTree
An operation defined with a free-form syntax.
|
IdentifierTree
An individual identifier used in an expression.
|
IfGroupTree |
InputFileFieldTree
Common interface for fields in input declarations.
|
KeywordTree
A keyword used in a "H", "D", "F" or "P" specification, e.g.
|
KListTree
A KLIST operation.
|
LiteralTree
A literal:
this can be a character literal, a numeric literal, etc.
|
LoopTree |
MainProcedureTree
The main procedure defined an an RPG file.
|
ModuleTree
Top-most
Tree of an analyzed RPG file. |
MonitorGroupTree
A MONITOR group.
|
NamedConstantDefinitionTree
Definition of a named constant.
|
OperationCode
Operation code used by calculation specifications as defined the
official language reference:
a single operation code is used for all the variations of a
comparison operation, e.g.
|
OperationTree
An individual operation: a calculation ("C") specification.
|
OutputFieldTree
A field description entry defined inside an
OutputRecordTree . |
OutputFileDeclarationTree
An output file declaration defined inside an "O" specification.
|
OutputIndicatorsTree
Output indicators
for an
OutputRecordTree . |
OutputRecordTree
A record identification and control entry inside an
OutputFileDeclarationTree either for:
a program described file
or an externally described file.
|
ParameterDefinitionTree
A parameter within a
prototype or procedure interface
definition. |
ParameteredCalculationTree
A calculation which may have parameters defined with
PARM.
|
ParenthesisedExpressionTree
An expression surrounded by parentheses.
|
PostfixExpressionTree
An expression followed by parentheses surrounding one or more other expressions:
this can be a call to a function (e.g.
|
ProcedureInterfaceDefinitionTree
A procedure interface definition (definition type: "PI").
|
ProcedureTree
Common interface for all procedures:
MainProcedureTree or SubProcedureTree . |
ProgramDescribedInputDeclarationTree
A program
described input file declaration defined in an "I" specification.
|
ProgramDescribedInputFileFieldTree |
ProgramDescribedInputFileRecordTree
A record
identification entry defined in a
ProgramDescribedInputDeclarationTree . |
PrototypeDefinitionTree
A prototype definition (definition type: "PR").
|
QualifiedNameExpressionTree
A qualified name,
e.g.
|
RecordIdentificationCodeTree
A Record
Identification Code defined inside a
ProgramDescribedInputFileRecordTree . |
SelectClauseTree |
SelectGroupTree
A SELECT group.
|
SqlStatementTree
A SQL statement defined with fixed-form or free-form syntax using
EXEC SQL . |
StandaloneFieldDefinitionTree
Definition of a standalone field (definition type: "S").
|
StarIndexExpressionTree
This is the "*" in an expression such as
FAMILIES(*).NAME . |
SubFieldDefinitionTree
Definition of a data structure subfield.
|
SubProcedureTree
A subprocedure defined in an RPG module.
|
SubRoutineTree
A subroutine, starting with a
BEGSR operation.
|
SyntaxToken
The smallest part of any expression, e.g.
|
SyntaxTokenType
Type of
SyntaxToken . |
TraditionalSyntaxOperationTree
An operation defined with traditional syntax.
|
Tree
Base interface for all elements of the tree representation of the source code of an RPG file.
|
TreeVisitor
Implementation of a Visitor pattern
to visit the Tree structure of an RPG file.
|
UnaryExpressionTree
An expression composed of an operator and a single operand.
|
Copyright © 2014–2018 SonarSource. All rights reserved.