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.atmel
Class FileMarkingTokenManager

    java.lang.Object
      avrora.syntax.atmel.AtmelParserTokenManager
          avrora.syntax.atmel.FileMarkingTokenManager

All Implemented Interfaces:
  AtmelParserConstants

public class FileMarkingTokenManager
extends AtmelParserTokenManager

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.atmel.AtmelParserTokenManager
`curChar, debugStream, input_stream, jjnewLexState, jjstrLiteralImages, lexStateNames`

Fields inherited from interface avrora.syntax.atmel.AtmelParserConstants
`ADC, ADD, 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, EICALL, EIJMP, ELPM, EOF, EOR, EXP2, FMUL, FMULS, FMULSU, HEX_LITERAL, HI8, HIGH, HWRD, ICALL, IDENTIFIER, IJMP, IN, IN_SINGLE_LINE_COMMENT, INC, INTEGER_LITERAL, JMP, LD, LDD, LDI, LDS, LETTER, LO8, LOG2, LOW, LPM, LSL, LSR, LWRD, MOV, MOVW, MUL, MULS, MULSU, NEG, NOP, OCTAL_LITERAL, OR, ORI, OUT, PAGE, POP, PUSH, RCALL, RET, RETI, RJMP, ROL, ROR, SBC, SBCI, SBI, SBIC, SBIS, SBIW, SBR, SBRC, SBRS, SEC, SEH, SEI, SEN, SER, SES, SET, SEV, SEZ, SINGLE_LINE_COMMENT, SLEEP, SPM, ST, STD, STRING_LITERAL, STS, SUB, SUBI, SWAP, tokenImage, TST, WDR`

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.atmel.AtmelParserTokenManager
`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 `AtmelParserTokenManager`

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