|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.syntax.objdump.ObjDumpParserTokenManager avrora.syntax.objdump.FileMarkingTokenManager
The FileMarkingTokenManager
is a subclass of the TokenManager for the Atmel parser that marks
each token that is seen with the name of the file that it came from. This is useful in unifying multiple
grammars that each have their own definition of Token, since an AbstractToken can be used by any part of
the compiler.
Field Summary | |
protected java.lang.String |
filename
|
Fields inherited from class avrora.syntax.objdump.ObjDumpParserTokenManager |
curChar, debugStream, input_stream, jjnewLexState, jjstrLiteralImages, lexStateNames |
Constructor Summary | |
FileMarkingTokenManager(SimpleCharStream s,
int lexState,
java.lang.String fname)
|
|
FileMarkingTokenManager(SimpleCharStream s,
java.lang.String fname)
|
Method Summary | |
protected Token |
jjFillToken()
|
void |
ReInit(SimpleCharStream s,
int lexState,
java.lang.String fname)
|
void |
ReInit(SimpleCharStream s,
java.lang.String fname)
|
Methods inherited from class avrora.syntax.objdump.ObjDumpParserTokenManager |
getNextToken, ReInit, ReInit, setDebugStream, SwitchTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String filename
Constructor Detail |
public FileMarkingTokenManager(SimpleCharStream s, java.lang.String fname)
public FileMarkingTokenManager(SimpleCharStream s, int lexState, java.lang.String fname)
Method Detail |
public void ReInit(SimpleCharStream s, java.lang.String fname)
public void ReInit(SimpleCharStream s, int lexState, java.lang.String fname)
protected Token jjFillToken()
jjFillToken
in class ObjDumpParserTokenManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |