A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- aboveLine(int) - Method in interface com.sonarsource.rpg.api.tree.Comments
- accept(TreeVisitor) - Method in interface com.sonarsource.rpg.api.tree.Tree
-
Trigger the visit of tree by a given
TreeVisitor
. - addIssue(RuleKey, int, String, Double) - Method in interface com.sonarsource.rpg.api.checks.CheckContext
-
Create a line-level issue.
- addIssue(RuleKey, String, Double) - Method in interface com.sonarsource.rpg.api.checks.CheckContext
-
Create a file-level issue.
- additionalConditionOperations() - Method in interface com.sonarsource.rpg.api.tree.ElseClauseTree
- additionalConditionOperations() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- additionalConditionOperations() - Method in interface com.sonarsource.rpg.api.tree.LoopTree
- additionalConditionOperations() - Method in interface com.sonarsource.rpg.api.tree.SelectClauseTree
- additionalOutputIndicators() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- AdditionalOutputIndicatorsTree - Interface in com.sonarsource.rpg.api.tree
-
Additional output indicators for an
OutputRecordTree
defined with a logical relationship (AND or OR). - additionDeletion() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- all() - Method in interface com.sonarsource.rpg.api.tree.Comments
- all() - Method in interface com.sonarsource.rpg.api.tree.CompilerDirectives
- allowedChars() - Method in enum com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- AND - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- arguments() - Method in interface com.sonarsource.rpg.api.tree.PostfixExpressionTree
- asText() - Method in interface com.sonarsource.rpg.api.tree.CompilerDirective
- atLine(int) - Method in interface com.sonarsource.rpg.api.tree.CompilerDirectives
B
- BaseTreeVisitor - Class in com.sonarsource.rpg.api.tree
-
Basic implementation of
TreeVisitor
which scans all theTree
s of an RPG file. - BaseTreeVisitor() - Constructor for class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- beginningPosition() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- BINARY_MINUS - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- BINARY_PLUS - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- BinaryExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
Binary expression for operators such as "+", "-", "*", "/", "**", "AND", "OR" and comparison operators.
- blankAfter() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
C
- calculations() - Method in interface com.sonarsource.rpg.api.tree.OnExitSectionTree
-
List of calculations which appear inside the ON-EXIT section.
- calculations() - Method in interface com.sonarsource.rpg.api.tree.ProcedureTree
-
List of top-level calculations: calculations which are nested inside other calculations (e.g.
- calculations() - Method in interface com.sonarsource.rpg.api.tree.SubRoutineTree
- CalculationTree - Interface in com.sonarsource.rpg.api.tree
-
Interface implemented by all instances of
Tree
representing a calculation, whether they are a simple calculation operation or a complex group nesting other instances ofCalculationTree
. - CasGroupTree - Interface in com.sonarsource.rpg.api.tree
-
A group of CAS operations.
- casOperations() - Method in interface com.sonarsource.rpg.api.tree.CasGroupTree
- character() - Method in interface com.sonarsource.rpg.api.tree.RecordIdentificationCodeTree
- check(CheckContext) - Method in interface com.sonarsource.rpg.api.checks.Check
-
This method is called for each check on each RPG file.
- check(CheckContext) - Method in class com.sonarsource.rpg.api.checks.VisitorBasedCheck
- Check - Interface in com.sonarsource.rpg.api.checks
-
The interface which should be implemented by all RPG checks (rules).
- checkClasses() - Method in interface com.sonarsource.rpg.api.CustomRulesDefinition
-
Each custom rule (check) should be implemented as a class and this method should return a list of all these classes.
- CheckContext - Interface in com.sonarsource.rpg.api.checks
-
This interface should be used by checks to get access to the analyzed RPG source code and to create issues.
- code() - Method in interface com.sonarsource.rpg.api.tree.OperationCode
- codePart() - Method in interface com.sonarsource.rpg.api.tree.RecordIdentificationCodeTree
- com.sonarsource.rpg.api - package com.sonarsource.rpg.api
- com.sonarsource.rpg.api.checks - package com.sonarsource.rpg.api.checks
-
Provides interfaces and classes to write checks on RPG source code.
- com.sonarsource.rpg.api.tree - package com.sonarsource.rpg.api.tree
-
Defines the interfaces which represent the RPG source code as a syntax tree structure.
- Comment - Interface in com.sonarsource.rpg.api.tree
-
A comment defined in a comment line (with an asterisk in position 7) or starting with "//" in free-form syntax.
- comments() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- Comments - Interface in com.sonarsource.rpg.api.tree
- CompilerDirective - Interface in com.sonarsource.rpg.api.tree
-
A compiler directive such as
/FREE
or/COPY MBR1
. - compilerDirectives() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- CompilerDirectives - Interface in com.sonarsource.rpg.api.tree
-
Set of all the
CompilerDirective
s of amodule
. - conditionOperation() - Method in interface com.sonarsource.rpg.api.tree.LoopTree
- constantOrEditWord() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- content() - Method in interface com.sonarsource.rpg.api.tree.Comment
- contents() - Method in interface com.sonarsource.rpg.api.checks.CheckContext
- context() - Method in class com.sonarsource.rpg.api.checks.VisitorBasedCheck
- controlKeywords() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- controlLevel() - Method in interface com.sonarsource.rpg.api.tree.FixedFormSyntaxOperationTree
- controlLevel() - Method in interface com.sonarsource.rpg.api.tree.InputFileFieldTree
- CustomRulesDefinition - Interface in com.sonarsource.rpg.api
-
Extension point to create a custom rule repository for RPG.
D
- dataAttributes() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- dataFormat() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- dataFormat() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- DataStructureDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
Definition of a Data structure (definition type: "DS").
- dataStructureType() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- dateTimeSeparator() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- decimalPositions() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- decimalPositions() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- declarationOperation() - Method in interface com.sonarsource.rpg.api.tree.SubRoutineTree
- DefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
Interface implemented by all kinds of definitions ("D" specifications).
- definitionType() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- device() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- DIVISION - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
E
- editCode() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- elements() - Method in interface com.sonarsource.rpg.api.tree.ExpressionListTree
- elseClauses() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- ElseClauseTree - Interface in com.sonarsource.rpg.api.tree
- END_OF_FILE - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- endLine() - Method in interface com.sonarsource.rpg.api.tree.OperationTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.CasGroupTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.LoopTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.MonitorGroupTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.SelectGroupTree
- endOperation() - Method in interface com.sonarsource.rpg.api.tree.SubRoutineTree
- endPosition() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- endPosition() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- EQ_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- exceptName() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- expression() - Method in interface com.sonarsource.rpg.api.tree.ParenthesisedExpressionTree
- expression() - Method in interface com.sonarsource.rpg.api.tree.PostfixExpressionTree
- expression() - Method in interface com.sonarsource.rpg.api.tree.QualifiedNameExpressionTree
- ExpressionListTree - Interface in com.sonarsource.rpg.api.tree
-
A list of expressions.
- expressions() - Method in interface com.sonarsource.rpg.api.tree.OperationTree
- ExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
Common interface for all kinds of expressions.
- ExpressionTree.Kind - Enum in com.sonarsource.rpg.api.tree
-
Precise kind of an expression.
- ExtendedFactor2SyntaxOperationTree - Interface in com.sonarsource.rpg.api.tree
-
An operation defined with an Extended Factor 2 Syntax.
- externalFieldName() - Method in interface com.sonarsource.rpg.api.tree.ExternallyDescribedInputFileFieldTree
- ExternallyDescribedInputFileFieldTree - Interface in com.sonarsource.rpg.api.tree
-
A field description entry for an externally described file.
- ExternallyDescribedInputFileRecordTree - Interface in com.sonarsource.rpg.api.tree
-
A record identification entry for an externally described input file defined in an "I" specification.
F
- factor1Expressions() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
- factor2Expressions() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
- fetchOverflowOrRelease() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- field() - Method in interface com.sonarsource.rpg.api.tree.QualifiedNameExpressionTree
- fieldIndicators() - Method in interface com.sonarsource.rpg.api.tree.InputFileFieldTree
- fieldName() - Method in interface com.sonarsource.rpg.api.tree.InputFileFieldTree
- fieldName() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- fieldRecordRelation() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileFieldTree
- fields() - Method in interface com.sonarsource.rpg.api.tree.ExternallyDescribedInputFileRecordTree
- fields() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- fields() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputDeclarationTree
- file() - Method in interface com.sonarsource.rpg.api.checks.CheckContext
-
Deprecated.since 2.4 use
CheckContext.contents()
for content,CheckContext.filename()
for filename - FILE_ADDITION - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- FILE_DESIGNATION - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- FILE_FORMAT - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- FILE_ORGANIZATION - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- FILE_TYPE - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- fileDeclarations() - Method in interface com.sonarsource.rpg.api.tree.ProcedureTree
- FileDeclarationTree - Interface in com.sonarsource.rpg.api.tree
-
A file declaration defined in an "F" specification.
- FileDeclarationTree.Flag - Enum in com.sonarsource.rpg.api.tree
-
One of the possible aspects of an "F" specification which are defined as a character.
- filename() - Method in interface com.sonarsource.rpg.api.checks.CheckContext
- fileName() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- fileName() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputDeclarationTree
- fileOrRecordName() - Method in interface com.sonarsource.rpg.api.tree.OutputFileDeclarationTree
- FixedFormSyntaxOperationTree - Interface in com.sonarsource.rpg.api.tree
-
An
operation
defined with a fixed-form syntax. - flag(FileDeclarationTree.Flag) - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- FreeFromSyntaxOperationTree - Interface in com.sonarsource.rpg.api.tree
-
An operation defined with a free-form syntax.
- fromPosition() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
G
- GE_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- GT_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
H
- hasExtender(char) - Method in interface com.sonarsource.rpg.api.tree.OperationTree
I
- IDENTIFIER - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- IdentifierTree - Interface in com.sonarsource.rpg.api.tree
-
An individual identifier used in an expression.
- IfGroupTree - Interface in com.sonarsource.rpg.api.tree
- ifOperation() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- indicators() - Method in interface com.sonarsource.rpg.api.tree.AdditionalOutputIndicatorsTree
- indicators() - Method in interface com.sonarsource.rpg.api.tree.FixedFormSyntaxOperationTree
- indicators() - Method in interface com.sonarsource.rpg.api.tree.OutputFieldTree
- indicators() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- indicators() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- inputDeclarations() - Method in interface com.sonarsource.rpg.api.tree.MainProcedureTree
- InputFileFieldTree - Interface in com.sonarsource.rpg.api.tree
-
Common interface for fields in input declarations.
- internalDataType() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- isBlank() - Method in interface com.sonarsource.rpg.api.tree.Comment
- isConst() - Method in interface com.sonarsource.rpg.api.tree.ParameterDefinitionTree
- isDescribedExternally() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- isFreeForm() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- isFullyFreeForm() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- isQualified() - Method in interface com.sonarsource.rpg.api.tree.DataStructureDefinitionTree
K
- keywords() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- keywords() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- keywords() - Method in interface com.sonarsource.rpg.api.tree.SubProcedureTree
- KeywordTree - Interface in com.sonarsource.rpg.api.tree
-
A keyword used in a "H", "D", "F" or "P" specification, e.g.
- kind() - Method in interface com.sonarsource.rpg.api.tree.ExpressionTree
- KListTree - Interface in com.sonarsource.rpg.api.tree
-
A KLIST operation.
L
- LE_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- lengthOfKey() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- LIMITS_PROCESSING - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- line() - Method in interface com.sonarsource.rpg.api.tree.Comment
- line() - Method in interface com.sonarsource.rpg.api.tree.CompilerDirective
- LIST - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- LITERAL - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- LiteralTree - Interface in com.sonarsource.rpg.api.tree
-
A literal: this can be a character literal, a numeric literal, etc.
- logicalRelationship() - Method in interface com.sonarsource.rpg.api.tree.AdditionalOutputIndicatorsTree
- LoopTree - Interface in com.sonarsource.rpg.api.tree
- LT_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
M
- mainProcedure() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- MainProcedureTree - Interface in com.sonarsource.rpg.api.tree
-
The main procedure defined an an RPG file.
- matchField() - Method in interface com.sonarsource.rpg.api.tree.InputFileFieldTree
- module() - Method in interface com.sonarsource.rpg.api.checks.CheckContext
- ModuleTree - Interface in com.sonarsource.rpg.api.tree
-
Top-most
Tree
of an analyzed RPG file. - MonitorGroupTree - Interface in com.sonarsource.rpg.api.tree
-
A MONITOR group.
- monitorOperation() - Method in interface com.sonarsource.rpg.api.tree.MonitorGroupTree
- MULTIPLICATION - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
N
- name() - Method in interface com.sonarsource.rpg.api.tree.CompilerDirective
- name() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- name() - Method in interface com.sonarsource.rpg.api.tree.IdentifierTree
- name() - Method in interface com.sonarsource.rpg.api.tree.KeywordTree
- name() - Method in interface com.sonarsource.rpg.api.tree.SubProcedureTree
- name() - Method in interface com.sonarsource.rpg.api.tree.SubRoutineTree
- NamedConstantDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
Definition of a named constant.
- NE_COMPARISON - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- needsCaseInsensitiveComparison() - Method in interface com.sonarsource.rpg.api.tree.SyntaxTokenType
- nestedCalculations() - Method in interface com.sonarsource.rpg.api.tree.LoopTree
- nestedCalculations() - Method in interface com.sonarsource.rpg.api.tree.MonitorGroupTree
- not() - Method in interface com.sonarsource.rpg.api.tree.RecordIdentificationCodeTree
- NOT - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- number() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileRecordTree
O
- onExitSection() - Method in interface com.sonarsource.rpg.api.tree.SubProcedureTree
- OnExitSectionTree - Interface in com.sonarsource.rpg.api.tree
-
The ON-EXIT section of a
SubProcedureTree
. - operand() - Method in interface com.sonarsource.rpg.api.tree.UnaryExpressionTree
- operand1() - Method in interface com.sonarsource.rpg.api.tree.BinaryExpressionTree
- operand2() - Method in interface com.sonarsource.rpg.api.tree.BinaryExpressionTree
- operation() - Method in interface com.sonarsource.rpg.api.tree.ElseClauseTree
- operation() - Method in interface com.sonarsource.rpg.api.tree.KListTree
- operation() - Method in interface com.sonarsource.rpg.api.tree.ParameteredCalculationTree
- operation() - Method in interface com.sonarsource.rpg.api.tree.SelectClauseTree
- operationCode() - Method in interface com.sonarsource.rpg.api.tree.OperationTree
- OperationCode - Interface in com.sonarsource.rpg.api.tree
-
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 - Interface in com.sonarsource.rpg.api.tree
-
An individual operation: a calculation ("C") specification.
- operator() - Method in interface com.sonarsource.rpg.api.tree.BinaryExpressionTree
- operator() - Method in interface com.sonarsource.rpg.api.tree.UnaryExpressionTree
- option() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileRecordTree
- OR - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- originalOperationCode() - Method in interface com.sonarsource.rpg.api.tree.OperationTree
- originalValue() - Method in interface com.sonarsource.rpg.api.tree.SyntaxToken
- otherClause() - Method in interface com.sonarsource.rpg.api.tree.SelectGroupTree
- outputDeclarations() - Method in interface com.sonarsource.rpg.api.tree.MainProcedureTree
- OutputFieldTree - Interface in com.sonarsource.rpg.api.tree
-
A field description entry defined inside an
OutputRecordTree
. - OutputFileDeclarationTree - Interface in com.sonarsource.rpg.api.tree
-
An output file declaration defined inside an "O" specification.
- OutputIndicatorsTree - Interface in com.sonarsource.rpg.api.tree
-
Output indicators for an
OutputRecordTree
. - OutputRecordTree - Interface in com.sonarsource.rpg.api.tree
-
A record identification and control entry inside an
OutputFileDeclarationTree
either for: a program described file or an externally described file.
P
- parameterDefinitions() - Method in interface com.sonarsource.rpg.api.tree.ProcedureInterfaceDefinitionTree
- parameterDefinitions() - Method in interface com.sonarsource.rpg.api.tree.PrototypeDefinitionTree
- ParameterDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
A parameter within a
prototype
orprocedure interface
definition. - ParameteredCalculationTree - Interface in com.sonarsource.rpg.api.tree
-
A calculation which may have parameters defined with PARM.
- parameters() - Method in interface com.sonarsource.rpg.api.tree.KeywordTree
- parameters() - Method in interface com.sonarsource.rpg.api.tree.ParameteredCalculationTree
- parent() - Method in interface com.sonarsource.rpg.api.tree.SubFieldDefinitionTree
-
Deprecated.since version 3.0 with no replacement.
- PARENTHESISED - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- ParenthesisedExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
An expression surrounded by parentheses.
- position() - Method in enum com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- position() - Method in interface com.sonarsource.rpg.api.tree.RecordIdentificationCodeTree
- POSTFIX - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- PostfixExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
An expression followed by parentheses surrounding one or more other expressions: this can be a call to a function (e.g.
- POWER - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- ProcedureInterfaceDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
A procedure interface definition (definition type: "PI").
- ProcedureTree - Interface in com.sonarsource.rpg.api.tree
-
Common interface for all procedures:
MainProcedureTree
orSubProcedureTree
. - ProgramDescribedInputDeclarationTree - Interface in com.sonarsource.rpg.api.tree
-
A program described input file declaration defined in an "I" specification.
- ProgramDescribedInputFileFieldTree - Interface in com.sonarsource.rpg.api.tree
- ProgramDescribedInputFileRecordTree - Interface in com.sonarsource.rpg.api.tree
-
A record identification entry defined in a
ProgramDescribedInputDeclarationTree
. - PrototypeDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
A prototype definition (definition type: "PR").
Q
- QUALIFIED_NAME - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- QualifiedNameExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
A qualified name, e.g.
R
- RECORD_ADDRESS_TYPE - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- recordIdentificationCodes() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileRecordTree
- RecordIdentificationCodeTree - Interface in com.sonarsource.rpg.api.tree
-
A Record Identification Code defined inside a
ProgramDescribedInputFileRecordTree
. - recordIdentifyingIndicator() - Method in interface com.sonarsource.rpg.api.tree.ExternallyDescribedInputFileRecordTree
- recordIdentifyingIndicator() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputFileRecordTree
- recordLength() - Method in interface com.sonarsource.rpg.api.tree.FileDeclarationTree
- recordName() - Method in interface com.sonarsource.rpg.api.tree.ExternallyDescribedInputFileRecordTree
- records() - Method in interface com.sonarsource.rpg.api.tree.OutputFileDeclarationTree
- recordType() - Method in interface com.sonarsource.rpg.api.tree.OutputRecordTree
- recordTypes() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputDeclarationTree
- repositoryKey() - Method in interface com.sonarsource.rpg.api.CustomRulesDefinition
-
This method should return the key of the custom rule repository.
- resultDecimalPositions() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
- resultExpressions() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
- resultFieldLength() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
- resultingIndicators() - Method in interface com.sonarsource.rpg.api.tree.TraditionalSyntaxOperationTree
S
- scan(Tree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- scan(Iterable<? extends Tree>) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- SelectClauseTree - Interface in com.sonarsource.rpg.api.tree
- SelectGroupTree - Interface in com.sonarsource.rpg.api.tree
-
A SELECT group.
- selectOperation() - Method in interface com.sonarsource.rpg.api.tree.SelectGroupTree
- separator() - Method in interface com.sonarsource.rpg.api.tree.QualifiedNameExpressionTree
- sequence() - Method in interface com.sonarsource.rpg.api.tree.ProgramDescribedInputDeclarationTree
- SEQUENCE - com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
- skipAfter() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- skipBefore() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- spaceAfter() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- spaceBefore() - Method in interface com.sonarsource.rpg.api.tree.OutputIndicatorsTree
- specificationChar() - Method in interface com.sonarsource.rpg.api.tree.CompilerDirective
- SqlStatementTree - Interface in com.sonarsource.rpg.api.tree
-
A SQL statement defined with fixed-form or free-form syntax using
EXEC SQL
. - StandaloneFieldDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
Definition of a standalone field (definition type: "S").
- STAR_INDEX - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- StarIndexExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
This is the "*" in an expression such as
FAMILIES(*).NAME
. - startLine() - Method in interface com.sonarsource.rpg.api.tree.Tree
- statusIdentifier() - Method in interface com.sonarsource.rpg.api.tree.OnExitSectionTree
- subDefinitions() - Method in interface com.sonarsource.rpg.api.tree.DataStructureDefinitionTree
- subFieldDefinitions() - Method in interface com.sonarsource.rpg.api.tree.DataStructureDefinitionTree
-
Deprecated.since version 3.0. Use
DataStructureDefinitionTree.subDefinitions()
instead. - SubFieldDefinitionTree - Interface in com.sonarsource.rpg.api.tree
-
Definition of a data structure subfield.
- subProcedures() - Method in interface com.sonarsource.rpg.api.tree.ModuleTree
- SubProcedureTree - Interface in com.sonarsource.rpg.api.tree
-
A subprocedure defined in an RPG module.
- SubRoutineTree - Interface in com.sonarsource.rpg.api.tree
-
A subroutine, starting with a BEGSR operation.
- SyntaxToken - Interface in com.sonarsource.rpg.api.tree
-
The smallest part of any expression, e.g.
- SyntaxTokenType - Interface in com.sonarsource.rpg.api.tree
-
Type of
SyntaxToken
.
T
- thenCalculations() - Method in interface com.sonarsource.rpg.api.tree.ElseClauseTree
- thenCalculations() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- thenCalculations() - Method in interface com.sonarsource.rpg.api.tree.SelectClauseTree
- token() - Method in interface com.sonarsource.rpg.api.tree.IdentifierTree
- token() - Method in interface com.sonarsource.rpg.api.tree.LiteralTree
- token() - Method in interface com.sonarsource.rpg.api.tree.StarIndexExpressionTree
- tokens() - Method in interface com.sonarsource.rpg.api.tree.ExpressionTree
- tokens() - Method in interface com.sonarsource.rpg.api.tree.SqlStatementTree
- topLevelDefinitions() - Method in interface com.sonarsource.rpg.api.tree.ProcedureTree
-
List of the top-level definitions of the procedure: subfields of data structure are not part of this list, they can be accessed from their parent
DataStructureDefinitionTree
. - toPositionOrLength() - Method in interface com.sonarsource.rpg.api.tree.DefinitionTree
- traditionalCondition() - Method in interface com.sonarsource.rpg.api.tree.ElseClauseTree
- traditionalCondition() - Method in interface com.sonarsource.rpg.api.tree.IfGroupTree
- traditionalCondition() - Method in interface com.sonarsource.rpg.api.tree.SelectClauseTree
- TraditionalSyntaxOperationTree - Interface in com.sonarsource.rpg.api.tree
-
An operation defined with traditional syntax.
- Tree - Interface in com.sonarsource.rpg.api.tree
-
Base interface for all elements of the tree representation of the source code of an RPG file.
- TreeVisitor - Interface in com.sonarsource.rpg.api.tree
-
Implementation of a Visitor pattern to visit the Tree structure of an RPG file.
- type() - Method in interface com.sonarsource.rpg.api.tree.SyntaxToken
U
- UNARY_MINUS - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- UNARY_PLUS - com.sonarsource.rpg.api.tree.ExpressionTree.Kind
- UnaryExpressionTree - Interface in com.sonarsource.rpg.api.tree
-
An expression composed of an operator and a single operand.
V
- value() - Method in interface com.sonarsource.rpg.api.tree.SyntaxToken
- valueOf(String) - Static method in enum com.sonarsource.rpg.api.tree.ExpressionTree.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.sonarsource.rpg.api.tree.ExpressionTree.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.sonarsource.rpg.api.tree.FileDeclarationTree.Flag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visitAdditionalOutputIndicators(AdditionalOutputIndicatorsTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitAdditionalOutputIndicators(AdditionalOutputIndicatorsTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitBinaryExpression(BinaryExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitBinaryExpression(BinaryExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitCasGroup(CasGroupTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitCasGroup(CasGroupTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitDataStructureDefinition(DataStructureDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitDataStructureDefinition(DataStructureDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitDefinition(DefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitDefinition(DefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitElseClause(ElseClauseTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitElseClause(ElseClauseTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitExpressionList(ExpressionListTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitExpressionList(ExpressionListTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitExtendedFactor2SyntaxOperation(ExtendedFactor2SyntaxOperationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitExtendedFactor2SyntaxOperation(ExtendedFactor2SyntaxOperationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitExternallyDescribedInputFileField(ExternallyDescribedInputFileFieldTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitExternallyDescribedInputFileField(ExternallyDescribedInputFileFieldTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitExternallyDescribedInputFileRecord(ExternallyDescribedInputFileRecordTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitExternallyDescribedInputFileRecord(ExternallyDescribedInputFileRecordTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitFileDeclaration(FileDeclarationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitFileDeclaration(FileDeclarationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitFreeFromSyntaxOperation(FreeFromSyntaxOperationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitFreeFromSyntaxOperation(FreeFromSyntaxOperationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitIdentifier(IdentifierTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitIdentifier(IdentifierTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitIfGroup(IfGroupTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitIfGroup(IfGroupTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitKeyword(KeywordTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitKeyword(KeywordTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitKList(KListTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitKList(KListTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitLiteral(LiteralTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitLiteral(LiteralTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitLoop(LoopTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitLoop(LoopTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitMainProcedure(MainProcedureTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitMainProcedure(MainProcedureTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitModule(ModuleTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitModule(ModuleTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitMonitorGroup(MonitorGroupTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitMonitorGroup(MonitorGroupTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitNamedConstantDefinition(NamedConstantDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitNamedConstantDefinition(NamedConstantDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitOnExitSection(OnExitSectionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitOnExitSection(OnExitSectionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitOperation(OperationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- VisitorBasedCheck - Class in com.sonarsource.rpg.api.checks
-
This class should be extended by checks to visit the
Tree
s of the RPG file using a Visitor pattern. - VisitorBasedCheck() - Constructor for class com.sonarsource.rpg.api.checks.VisitorBasedCheck
- visitOutputField(OutputFieldTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitOutputField(OutputFieldTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitOutputFileDeclaration(OutputFileDeclarationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitOutputFileDeclaration(OutputFileDeclarationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitOutputIndicators(OutputIndicatorsTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitOutputIndicators(OutputIndicatorsTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitOutputRecord(OutputRecordTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitOutputRecord(OutputRecordTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitParameterDefinition(ParameterDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitParameterDefinition(ParameterDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitParameteredCalculation(ParameteredCalculationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitParameteredCalculation(ParameteredCalculationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitParenthesisedExpression(ParenthesisedExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitParenthesisedExpression(ParenthesisedExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitPostfixExpression(PostfixExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitPostfixExpression(PostfixExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitProcedureInterfaceDefinition(ProcedureInterfaceDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitProcedureInterfaceDefinition(ProcedureInterfaceDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitProgramDescribedInputDeclaration(ProgramDescribedInputDeclarationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitProgramDescribedInputDeclaration(ProgramDescribedInputDeclarationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitProgramDescribedInputFileField(ProgramDescribedInputFileFieldTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitProgramDescribedInputFileField(ProgramDescribedInputFileFieldTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitProgramDescribedInputFileRecord(ProgramDescribedInputFileRecordTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitProgramDescribedInputFileRecord(ProgramDescribedInputFileRecordTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitPrototypeDefinition(PrototypeDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitPrototypeDefinition(PrototypeDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitQualifiedNameExpression(QualifiedNameExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitQualifiedNameExpression(QualifiedNameExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitRecordIdentificationCode(RecordIdentificationCodeTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitRecordIdentificationCode(RecordIdentificationCodeTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSelectClause(SelectClauseTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSelectClause(SelectClauseTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSelectGroup(SelectGroupTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSelectGroup(SelectGroupTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSqlStatement(SqlStatementTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSqlStatement(SqlStatementTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitStandaloneFieldDefinition(StandaloneFieldDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitStandaloneFieldDefinition(StandaloneFieldDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitStarIndexExpression(StarIndexExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitStarIndexExpression(StarIndexExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSubFieldDefinition(SubFieldDefinitionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSubFieldDefinition(SubFieldDefinitionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSubProcedure(SubProcedureTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSubProcedure(SubProcedureTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSubRoutine(SubRoutineTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSubRoutine(SubRoutineTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitSyntaxToken(SyntaxToken) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitSyntaxToken(SyntaxToken) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitTraditionalSyntaxOperation(TraditionalSyntaxOperationTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitTraditionalSyntaxOperation(TraditionalSyntaxOperationTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
- visitUnaryExpression(UnaryExpressionTree) - Method in class com.sonarsource.rpg.api.tree.BaseTreeVisitor
- visitUnaryExpression(UnaryExpressionTree) - Method in interface com.sonarsource.rpg.api.tree.TreeVisitor
W
- whenClauses() - Method in interface com.sonarsource.rpg.api.tree.SelectGroupTree
All Classes All Packages