Package com.sonarsource.rpg.api.tree
Interface CompilerDirectives
-
public interface CompilerDirectives
Set of all theCompilerDirective
s of amodule
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CompilerDirective>
all()
CompilerDirective
atLine(int lineNumber)
-
-
-
Method Detail
-
all
List<CompilerDirective> all()
- Returns:
- all compiler directives sorted by line number.
-
atLine
@CheckForNull CompilerDirective atLine(int lineNumber)
- Parameters:
lineNumber
- number of the line at which a compiler directive may appear.- Returns:
- the
CompilerDirective
appearing at the given line number, null if none exists.
-
-