org.w3c.flute.parser

Class ParserTokenManager

public class ParserTokenManager extends Object implements ParserConstants

Field Summary
protected charcurChar
intcurLexState
PrintStreamdebugStream
intdefaultLexState
StringBufferimage
protected CharStreaminput_stream
static long[]jjbitVec0
intjjimageLen
intjjmatchedKind
intjjmatchedPos
static int[]jjnewLexState
intjjnewStateCnt
static int[]jjnextStates
intjjround
static String[]jjstrLiteralImages
static long[]jjtoMore
static long[]jjtoSkip
static long[]jjtoToken
intlengthOfMatch
static String[]lexStateNames
Constructor Summary
ParserTokenManager(CharStream stream)
ParserTokenManager(CharStream stream, int lexState)
Method Summary
TokengetNextToken()
protected TokenjjFillToken()
voidReInit(CharStream stream)
voidReInit(CharStream stream, int lexState)
voidsetDebugStream(PrintStream ds)
voidSwitchTo(int lexState)
voidTokenLexicalActions(Token matchedToken)

Field Detail

curChar

protected char curChar

curLexState

int curLexState

debugStream

public PrintStream debugStream

defaultLexState

int defaultLexState

image

StringBuffer image

input_stream

protected CharStream input_stream

jjbitVec0

static final long[] jjbitVec0

jjimageLen

int jjimageLen

jjmatchedKind

int jjmatchedKind

jjmatchedPos

int jjmatchedPos

jjnewLexState

public static final int[] jjnewLexState

jjnewStateCnt

int jjnewStateCnt

jjnextStates

static final int[] jjnextStates

jjround

int jjround

jjstrLiteralImages

public static final String[] jjstrLiteralImages

jjtoMore

static final long[] jjtoMore

jjtoSkip

static final long[] jjtoSkip

jjtoToken

static final long[] jjtoToken

lengthOfMatch

int lengthOfMatch

lexStateNames

public static final String[] lexStateNames

Constructor Detail

ParserTokenManager

public ParserTokenManager(CharStream stream)

ParserTokenManager

public ParserTokenManager(CharStream stream, int lexState)

Method Detail

getNextToken

public Token getNextToken()

jjFillToken

protected Token jjFillToken()

ReInit

public void ReInit(CharStream stream)

ReInit

public void ReInit(CharStream stream, int lexState)

setDebugStream

public void setDebugStream(PrintStream ds)

SwitchTo

public void SwitchTo(int lexState)

TokenLexicalActions

void TokenLexicalActions(Token matchedToken)