Package com.sonarsource.rpg.api.tree
Interface CompilerDirective
-
public interface CompilerDirective
A compiler directive such as/FREE
or/COPY MBR1
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asText()
int
line()
String
name()
char
specificationChar()
-
-
-
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".
-
-