org.apache.commons.jrcs.rcs
Class ArchiveParserTokenManager

java.lang.Object
  extended by org.apache.commons.jrcs.rcs.ArchiveParserTokenManager
All Implemented Interfaces:
ArchiveParserConstants

public class ArchiveParserTokenManager
extends java.lang.Object
implements ArchiveParserConstants

Token Manager.


Field Summary
protected  char curChar
           
(package private)  int curLexState
           
 java.io.PrintStream debugStream
          Debug output.
(package private)  int defaultLexState
           
protected  CharStream input_stream
           
(package private) static long[] jjbitVec0
           
(package private)  int jjmatchedKind
           
(package private)  int jjmatchedPos
           
static int[] jjnewLexState
          Lex State array.
(package private)  int jjnewStateCnt
           
(package private) static int[] jjnextStates
           
(package private)  int jjround
           
private  int[] jjrounds
           
private  int[] jjstateSet
           
static java.lang.String[] jjstrLiteralImages
          Token literal values.
(package private) static long[] jjtoSkip
           
(package private) static long[] jjtoToken
           
static java.lang.String[] lexStateNames
          Lexer state names.
 
Fields inherited from interface org.apache.commons.jrcs.rcs.ArchiveParserConstants
ACCESS, AUTHOR, BRANCH, BRANCHES, COLON, COMMENT, DATE, DATESTATE, DEFAULT, DESC, DIGIT, DIGITS, DOT, EOF, EOS, EXPAND, HEAD, ID, IDCHAR, IDSTATE, LOCKS, LOG, NEXT, NUM, STATE, STRICT, STRING, SYM, SYMBOLS, SYMBOLSTATE, TEXT, tokenImage
 
Constructor Summary
ArchiveParserTokenManager(CharStream stream)
          Constructor.
ArchiveParserTokenManager(CharStream stream, int lexState)
          Constructor.
 
Method Summary
 Token getNextToken()
          Get the next Token.
private  void jjAddStates(int start, int end)
           
private  void jjCheckNAdd(int state)
           
private  void jjCheckNAddStates(int start, int end)
           
private  void jjCheckNAddTwoStates(int state1, int state2)
           
protected  Token jjFillToken()
           
private  int jjMoveNfa_0(int startState, int curPos)
           
private  int jjMoveNfa_1(int startState, int curPos)
           
private  int jjMoveNfa_2(int startState, int curPos)
           
private  int jjMoveNfa_3(int startState, int curPos)
           
private  int jjMoveStringLiteralDfa0_0()
           
private  int jjMoveStringLiteralDfa0_1()
           
private  int jjMoveStringLiteralDfa0_2()
           
private  int jjMoveStringLiteralDfa0_3()
           
private  int jjMoveStringLiteralDfa1_0(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 jjStartNfa_0(int pos, long active0)
           
private  int jjStartNfa_1(int pos, long active0)
           
private  int jjStartNfa_2(int pos, long active0)
           
private  int jjStartNfa_3(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)
           
private  int jjStopStringLiteralDfa_1(int pos, long active0)
           
private  int jjStopStringLiteralDfa_2(int pos, long active0)
           
private  int jjStopStringLiteralDfa_3(int pos, long active0)
           
 void ReInit(CharStream stream)
          Reinitialise parser.
 void ReInit(CharStream stream, int lexState)
          Reinitialise parser.
private  void ReInitRounds()
           
 void setDebugStream(java.io.PrintStream ds)
          Set debug output.
 void SwitchTo(int lexState)
          Switch to specified lex state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public java.io.PrintStream debugStream
Debug output.


jjbitVec0

static final long[] jjbitVec0

jjnextStates

static final int[] jjnextStates

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final java.lang.String[] lexStateNames
Lexer state names.


jjnewLexState

public static final int[] jjnewLexState
Lex State array.


jjtoToken

static final long[] jjtoToken

jjtoSkip

static final long[] jjtoSkip

input_stream

protected CharStream input_stream

jjrounds

private final int[] jjrounds

jjstateSet

private final int[] jjstateSet

curChar

protected char curChar

curLexState

int curLexState

defaultLexState

int defaultLexState

jjnewStateCnt

int jjnewStateCnt

jjround

int jjround

jjmatchedPos

int jjmatchedPos

jjmatchedKind

int jjmatchedKind
Constructor Detail

ArchiveParserTokenManager

public ArchiveParserTokenManager(CharStream stream)
Constructor.


ArchiveParserTokenManager

public ArchiveParserTokenManager(CharStream stream,
                                 int lexState)
Constructor.

Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)
Set debug output.


jjStopStringLiteralDfa_0

private final int jjStopStringLiteralDfa_0(int pos,
                                           long active0)

jjStartNfa_0

private final int jjStartNfa_0(int pos,
                               long active0)

jjStopAtPos

private int jjStopAtPos(int pos,
                        int kind)

jjMoveStringLiteralDfa0_0

private int jjMoveStringLiteralDfa0_0()

jjMoveStringLiteralDfa1_0

private int jjMoveStringLiteralDfa1_0(long active0)

jjMoveStringLiteralDfa2_0

private int jjMoveStringLiteralDfa2_0(long old0,
                                      long active0)

jjMoveStringLiteralDfa3_0

private int jjMoveStringLiteralDfa3_0(long old0,
                                      long active0)

jjMoveStringLiteralDfa4_0

private int jjMoveStringLiteralDfa4_0(long old0,
                                      long active0)

jjMoveStringLiteralDfa5_0

private int jjMoveStringLiteralDfa5_0(long old0,
                                      long active0)

jjMoveStringLiteralDfa6_0

private int jjMoveStringLiteralDfa6_0(long old0,
                                      long active0)

jjMoveStringLiteralDfa7_0

private int jjMoveStringLiteralDfa7_0(long old0,
                                      long active0)

jjStartNfaWithStates_0

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

jjMoveNfa_0

private int jjMoveNfa_0(int startState,
                        int curPos)

jjStopStringLiteralDfa_1

private final int jjStopStringLiteralDfa_1(int pos,
                                           long active0)

jjStartNfa_1

private final int jjStartNfa_1(int pos,
                               long active0)

jjMoveStringLiteralDfa0_1

private int jjMoveStringLiteralDfa0_1()

jjMoveNfa_1

private int jjMoveNfa_1(int startState,
                        int curPos)

jjStopStringLiteralDfa_2

private final int jjStopStringLiteralDfa_2(int pos,
                                           long active0)

jjStartNfa_2

private final int jjStartNfa_2(int pos,
                               long active0)

jjMoveStringLiteralDfa0_2

private int jjMoveStringLiteralDfa0_2()

jjMoveNfa_2

private int jjMoveNfa_2(int startState,
                        int curPos)

jjStopStringLiteralDfa_3

private final int jjStopStringLiteralDfa_3(int pos,
                                           long active0)

jjStartNfa_3

private final int jjStartNfa_3(int pos,
                               long active0)

jjMoveStringLiteralDfa0_3

private int jjMoveStringLiteralDfa0_3()

jjMoveNfa_3

private int jjMoveNfa_3(int startState,
                        int curPos)

ReInit

public void ReInit(CharStream stream)
Reinitialise parser.


ReInitRounds

private void ReInitRounds()

ReInit

public void ReInit(CharStream stream,
                   int lexState)
Reinitialise parser.


SwitchTo

public void SwitchTo(int lexState)
Switch to specified lex state.


jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()
Get the next Token.


jjCheckNAdd

private void jjCheckNAdd(int state)

jjAddStates

private void jjAddStates(int start,
                         int end)

jjCheckNAddTwoStates

private void jjCheckNAddTwoStates(int state1,
                                  int state2)

jjCheckNAddStates

private void jjCheckNAddStates(int start,
                               int end)


Copyright 2002 the Apache Software Foundation
Copyright ? 1999-2001 Juancarlo A?ez, Caracas, Venezuela.
All rights reserved
. http://www.suigeneris.org/jrcs