Package com.sonarsource.rpg.api.tree
Interface CompilerDirective
-
public interface CompilerDirectiveA compiler directive such as/FREEor/COPY MBR1.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringasText()intline()Stringname()charspecificationChar()
-
-
-
Method Detail
-
line
int line()
- Returns:
- the line number on which the CompilerDirective appears.
-
specificationChar
char specificationChar()
- Returns:
- the character defining the specification for the line on which the CompilerDirective appears (it can be a whitespace).
-
name
String name()
- Returns:
- the short name of the directive in upper case with the slash, for example "/COPY".
-
asText
String asText()
- Returns:
- the text value of the directive, for example "/COPY MBR1".
-
-