copyright The Portico Project 2008.

org.portico.impl.hla13.fomparser
Class FOMTokenManager

java.lang.Object
  extended by org.portico.impl.hla13.fomparser.FOMTokenManager
All Implemented Interfaces:
FOMConstants

public class FOMTokenManager
extends Object
implements FOMConstants


Field Summary
protected  char curChar
           
(package private)  int curLexState
           
 PrintStream debugStream
           
(package private)  int defaultLexState
           
(package private)  StringBuffer image
           
protected  SimpleCharStream input_stream
           
(package private)  int jjimageLen
           
(package private)  int jjmatchedKind
           
(package private)  int jjmatchedPos
           
static int[] jjnewLexState
           
(package private)  int jjnewStateCnt
           
(package private) static int[] jjnextStates
           
(package private)  int jjround
           
private  int[] jjrounds
           
private  int[] jjstateSet
           
static String[] jjstrLiteralImages
           
(package private) static long[] jjtoMore
           
(package private) static long[] jjtoSkip
           
(package private) static long[] jjtoSpecial
           
(package private) static long[] jjtoToken
           
(package private)  int lengthOfMatch
           
static String[] lexStateNames
           
 
Fields inherited from interface org.portico.impl.hla13.fomparser.FOMConstants
ALPHA, ATTRIBUTE, CHAR, CLASS, DEFAULT, DIMENSION, EOF, FED, FEDERATION, FEDVERSION, IN_SINGLE_LINE_COMMENT, INTERACTIONS, NUMERIC, OBJECTS, P_CLOSE, P_OPEN, PARAMETER, SINGLE_LINE_COMMENT, SPACE, SPACES, STRING, SYMBOL, tokenImage
 
Constructor Summary
FOMTokenManager(SimpleCharStream stream)
           
FOMTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
private  void jjAddStates(int start, int end)
           
private  void jjCheckNAdd(int state)
           
protected  Token jjFillToken()
           
private  int jjMoveNfa_0(int startState, int curPos)
           
private  int jjMoveNfa_1(int startState, int curPos)
           
private  int jjMoveStringLiteralDfa0_0()
           
private  int jjMoveStringLiteralDfa0_1()
           
private  int jjMoveStringLiteralDfa1_0(long active0)
           
private  int jjMoveStringLiteralDfa10_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa2_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa3_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa4_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa5_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa6_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa7_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa8_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa9_0(long old0, long active0)
           
private  int jjStartNfa_0(int pos, long active0)
           
private  int jjStartNfaWithStates_0(int pos, int kind, int state)
           
private  int jjStopAtPos(int pos, int kind)
           
private  int jjStopStringLiteralDfa_0(int pos, long active0)
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
private  void ReInitRounds()
           
 void setDebugStream(PrintStream ds)
           
(package private)  void SkipLexicalActions(Token matchedToken)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public PrintStream debugStream

jjnextStates

static final int[] jjnextStates

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

jjnewLexState

public static final int[] jjnewLexState

jjtoToken

static final long[] jjtoToken

jjtoSkip

static final long[] jjtoSkip

jjtoSpecial

static final long[] jjtoSpecial

jjtoMore

static final long[] jjtoMore

input_stream

protected SimpleCharStream input_stream

jjrounds

private final int[] jjrounds

jjstateSet

private final int[] jjstateSet

image

StringBuffer image

jjimageLen

int jjimageLen

lengthOfMatch

int lengthOfMatch

curChar

protected char curChar

curLexState

int curLexState

defaultLexState

int defaultLexState

jjnewStateCnt

int jjnewStateCnt

jjround

int jjround

jjmatchedPos

int jjmatchedPos

jjmatchedKind

int jjmatchedKind
Constructor Detail

FOMTokenManager

public FOMTokenManager(SimpleCharStream stream)

FOMTokenManager

public FOMTokenManager(SimpleCharStream stream,
                       int lexState)
Method Detail

setDebugStream

public void setDebugStream(PrintStream ds)

jjStopStringLiteralDfa_0

private final int jjStopStringLiteralDfa_0(int pos,
                                           long active0)

jjStartNfa_0

private final int jjStartNfa_0(int pos,
                               long active0)

jjStopAtPos

private final int jjStopAtPos(int pos,
                              int kind)

jjStartNfaWithStates_0

private final int jjStartNfaWithStates_0(int pos,
                                         int kind,
                                         int state)

jjMoveStringLiteralDfa0_0

private final int jjMoveStringLiteralDfa0_0()

jjMoveStringLiteralDfa1_0

private final int jjMoveStringLiteralDfa1_0(long active0)

jjMoveStringLiteralDfa2_0

private final int jjMoveStringLiteralDfa2_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa3_0

private final int jjMoveStringLiteralDfa3_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa4_0

private final int jjMoveStringLiteralDfa4_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa5_0

private final int jjMoveStringLiteralDfa5_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa6_0

private final int jjMoveStringLiteralDfa6_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa7_0

private final int jjMoveStringLiteralDfa7_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa8_0

private final int jjMoveStringLiteralDfa8_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa9_0

private final int jjMoveStringLiteralDfa9_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa10_0

private final int jjMoveStringLiteralDfa10_0(long old0,
                                             long active0)

jjCheckNAdd

private final void jjCheckNAdd(int state)

jjAddStates

private final void jjAddStates(int start,
                               int end)

jjMoveNfa_0

private final int jjMoveNfa_0(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_1

private final int jjMoveStringLiteralDfa0_1()

jjMoveNfa_1

private final int jjMoveNfa_1(int startState,
                              int curPos)

ReInit

public void ReInit(SimpleCharStream stream)

ReInitRounds

private final void ReInitRounds()

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()

SkipLexicalActions

void SkipLexicalActions(Token matchedToken)

copyright The Portico Project 2008.