Package com.sonarsource.rpg.api.tree
Interface Tree
-
- All Known Subinterfaces:
AdditionalOutputIndicatorsTree
,BinaryExpressionTree
,CalculationTree
,CasGroupTree
,DataStructureDefinitionTree
,DefinitionTree
,ElseClauseTree
,ExpressionListTree
,ExpressionTree
,ExtendedFactor2SyntaxOperationTree
,ExternallyDescribedInputFileFieldTree
,ExternallyDescribedInputFileRecordTree
,FileDeclarationTree
,FixedFormSyntaxOperationTree
,FreeFromSyntaxOperationTree
,IdentifierTree
,IfGroupTree
,InputFileFieldTree
,KeywordTree
,KListTree
,LiteralTree
,LoopTree
,MainProcedureTree
,ModuleTree
,MonitorGroupTree
,NamedConstantDefinitionTree
,OnExitSectionTree
,OperationTree
,OutputFieldTree
,OutputFileDeclarationTree
,OutputIndicatorsTree
,OutputRecordTree
,ParameterDefinitionTree
,ParameteredCalculationTree
,ParenthesisedExpressionTree
,PostfixExpressionTree
,ProcedureInterfaceDefinitionTree
,ProcedureTree
,ProgramDescribedInputDeclarationTree
,ProgramDescribedInputFileFieldTree
,ProgramDescribedInputFileRecordTree
,PrototypeDefinitionTree
,QualifiedNameExpressionTree
,RecordIdentificationCodeTree
,SelectClauseTree
,SelectGroupTree
,SqlStatementTree
,StandaloneFieldDefinitionTree
,StarIndexExpressionTree
,SubFieldDefinitionTree
,SubProcedureTree
,SubRoutineTree
,SyntaxToken
,TraditionalSyntaxOperationTree
,UnaryExpressionTree
public interface Tree
Base interface for all elements of the tree representation of the source code of an RPG file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(TreeVisitor visitor)
Trigger the visit of tree by a givenTreeVisitor
.int
startLine()
-
-
-
Method Detail
-
startLine
int startLine()
- Returns:
- the line number at which the Tree appears in the source file
-
accept
void accept(TreeVisitor visitor)
Trigger the visit of tree by a givenTreeVisitor
.- Parameters:
visitor
- the visitor which should visit the tree.
-
-