|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticSourceFile
The StaticSourceFile
contains information about a compiler input.
Method Summary | |
---|---|
int |
getLineOffset(int lineNumber)
Returns the offset of the given line number relative to the file start. |
String |
getName()
The name of the file. |
boolean |
isExtern()
Returns whether this is an externs file. |
Method Detail |
---|
String getName()
boolean isExtern()
int getLineOffset(int lineNumber)
lineNumber
- the line of the input to get the absolute offset of.
IllegalArgumentException
- if lineno is less than 1 or greater than
the number of lines in the source.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |