Package com.sonarsource.rpg.api.tree
Interface ModuleTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comments
comments()
CompilerDirectives
compilerDirectives()
List<KeywordTree>
controlKeywords()
boolean
isFullyFreeForm()
MainProcedureTree
mainProcedure()
List<SubProcedureTree>
subProcedures()
-
-
-
Method Detail
-
controlKeywords
List<KeywordTree> controlKeywords()
- Returns:
- list of all control keywords ("H" specifications)
-
mainProcedure
MainProcedureTree mainProcedure()
- Returns:
- the main procedure of the module
-
subProcedures
List<SubProcedureTree> subProcedures()
- Returns:
- list of the subprocedures defined in the module
-
comments
Comments comments()
- Returns:
- all comments contained by this module
-
compilerDirectives
CompilerDirectives compilerDirectives()
- Returns:
- all compiler directives contained in this module
-
isFullyFreeForm
boolean isFullyFreeForm()
- Returns:
- true when source has the special directive **FREE in the first line and contains only free-form code
-
-