Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.syntax.objdump
Class FileMarkingTokenManager

    java.lang.Object
      avrora.syntax.objdump.ObjDumpParserTokenManager
          avrora.syntax.objdump.FileMarkingTokenManager

All Implemented Interfaces:
  ObjDumpParserConstants

public class FileMarkingTokenManager
extends ObjDumpParserTokenManager

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`

Fields inherited from interface avrora.syntax.objdump.ObjDumpParserConstants
`ADC, ADD, ADDRESS, ADIW, AND, ANDI, ASR, BCLR, BIN_LITERAL, BLD, BRBC, BRBS, BRCC, BRCS, BREAK, BREQ, BRGE, BRHC, BRHS, BRID, BRIE, BRLO, BRLT, BRMI, BRNE, BRPL, BRSH, BRTC, BRTS, BRVC, BRVS, BSET, BST, BYTE2, BYTE3, BYTE4, CALL, CBI, CBR, CHARACTER_LITERAL, CLC, CLH, CLI, CLN, CLR, CLS, CLT, CLV, CLZ, COM, CP, CPC, CPI, CPSE, DEC, DECIMAL_LITERAL, DEFAULT, DIGIT, DOT_IDENTIFIER, EICALL, EIJMP, ELPM, EOF, EOR, EXP2, FMUL, FMULS, FMULSU, HEX_LITERAL, HIGH, HWRD, ICALL, IDENTIFIER, IJMP, IN, IN_SINGLE_LINE_COMMENT, INC, INTEGER_LITERAL, JMP, LABEL, LD, LDD, LDI, LDS, LETTER, LMA, LOG2, LOW, LPM, LSL, LSR, LWRD, MOV, MOVW, MUL, MULS, MULSU, NEG, NOP, OCTAL_LITERAL, OFFSET, OR, ORI, OUT, PAGE, POP, PROGRAM, PUSH, RCALL, RET, RETI, RJMP, ROL, ROR, SBC, SBCI, SBI, SBIC, SBIS, SBIW, SBR, SBRC, SBRS, SEC, SECTION, SEH, SEI, SEN, SER, SES, SET, SEV, SEZ, SINGLE_LINE_COMMENT, SIZE, SLEEP, SPM, ST, START, STD, STRING_LITERAL, STS, SUB, SUBI, SWAP, tokenImage, TST, VMA, WDR, WORD`

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

### filename

    protected java.lang.String filename

Constructor Detail

### FileMarkingTokenManager

    public FileMarkingTokenManager(SimpleCharStream s,
                                   java.lang.String fname)

### FileMarkingTokenManager

    public FileMarkingTokenManager(SimpleCharStream s,
                                   int lexState,
                                   java.lang.String fname)

Method Detail

### ReInit

    public void ReInit(SimpleCharStream s,
                       java.lang.String fname)

### ReInit

    public void ReInit(SimpleCharStream s,
                       int lexState,
                       java.lang.String fname)

### jjFillToken

    protected Token jjFillToken()

  Overrides:
    `jjFillToken` in class `ObjDumpParserTokenManager`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD