|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TokenReference | |
|---|---|
| at.dms.compiler.tools.antlr.extra | |
| at.dms.compiler.tools.common | |
| Uses of TokenReference in at.dms.compiler.tools.antlr.extra |
|---|
| Methods in at.dms.compiler.tools.antlr.extra that return TokenReference | |
|---|---|
protected TokenReference |
Parser.buildTokenReference()
Returns a reference to the current position in the source file. |
TokenReference |
Scanner.getTokenReference()
Returns the reference of the current token in the source file. |
| Uses of TokenReference in at.dms.compiler.tools.common |
|---|
| Fields in at.dms.compiler.tools.common declared as TokenReference | |
|---|---|
static TokenReference |
TokenReference.NO_REF
|
| Methods in at.dms.compiler.tools.common that return TokenReference | |
|---|---|
static TokenReference |
TokenReference.build(String file,
int line)
Construct a line and file reference |
TokenReference |
PositionedError.getTokenReference()
Returns the position in the source code. |
| Methods in at.dms.compiler.tools.common with parameters of type TokenReference | |
|---|---|
PositionedError |
UnpositionedError.addPosition(TokenReference where)
Returns an error with a reference to the source file. |
| Constructors in at.dms.compiler.tools.common with parameters of type TokenReference | |
|---|---|
PositionedError(TokenReference where,
Message message)
An error with a formatted message as argument |
|
PositionedError(TokenReference where,
MessageDescription description)
An error without parameters |
|
PositionedError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
PositionedError(TokenReference where,
MessageDescription description,
Object[] parameters)
An error with an arbitrary number of parameters |
|
PositionedError(TokenReference where,
MessageDescription description,
Object parameter1,
Object parameter2)
An error with two parameters |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||