Top Description Fields Constructors Methods
org.jbibtex

public Class LaTeXParserTokenManager

extends Object
implements LaTeXParserConstants
Class Inheritance
All Implemented Interfaces
org.jbibtex.LaTeXParserConstants
Annotations
@SuppressWarnings:unused
Imports
java.io.Reader, .StringReader, java.util.ArrayList, .List

Token Manager.

Field Summary

Modifier and TypeField and Description
protected int
pack-priv int
public PrintStream
debugStream

Debug output.

pack-priv int
private StringBuilder
protected SimpleCharStream
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
private final StringBuilder
private int
pack-priv int
pack-priv int
public static final int[]
jjnewLexState

Lex State array.

pack-priv int
pack-priv static final int[]
pack-priv int
private final int[]
private final int[]
public static final String[]
jjstrLiteralImages

Token literal values.

pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
private int
public static final String[]
lexStateNames

Lexer state names.

Constructor Summary

AccessConstructor and Description
public
public
LaTeXParserTokenManager(SimpleCharStream stream, int lexState)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public Token
getNextToken()

Get the next Token.

private void
jjAddStates(int start, int end)

private static final boolean
jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)

private static final boolean
jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)

private static final boolean
jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2)

private void
jjCheckNAdd(int state)

private void
jjCheckNAddTwoStates(int state1, int state2)

protected Token
private int
jjMoveNfa_0(int startState, int curPos)

private int
private final int
jjStartNfa_0(int pos, long active0)

private int
jjStopAtPos(int pos, int kind)

private final int
jjStopStringLiteralDfa_0(int pos, long active0)

pack-priv void
public void
ReInit(SimpleCharStream stream)

Reinitialise parser.

public void
ReInit(SimpleCharStream stream, int lexState)

Reinitialise parser.

private void
public void
setDebugStream(PrintStream ds)

Set debug output.

pack-priv void
SkipLexicalActions(Token matchedToken)

public void
SwitchTo(int lexState)

Switch to specified lex state.

pack-priv void
TokenLexicalActions(Token matchedToken)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

curCharback to summary
protected int curChar
curLexStateback to summary
pack-priv int curLexState
debugStreamback to summary
public PrintStream debugStream

Debug output.

defaultLexStateback to summary
pack-priv int defaultLexState
imageback to summary
private StringBuilder image
input_streamback to summary
protected SimpleCharStream input_stream
jjbitVec0back to summary
pack-priv static final long[] jjbitVec0
jjbitVec1back to summary
pack-priv static final long[] jjbitVec1
jjbitVec2back to summary
pack-priv static final long[] jjbitVec2
jjbitVec3back to summary
pack-priv static final long[] jjbitVec3
jjbitVec5back to summary
pack-priv static final long[] jjbitVec5
jjbitVec6back to summary
pack-priv static final long[] jjbitVec6
jjimageback to summary
private final StringBuilder jjimage
jjimageLenback to summary
private int jjimageLen
jjmatchedKindback to summary
pack-priv int jjmatchedKind
jjmatchedPosback to summary
pack-priv int jjmatchedPos
jjnewLexStateback to summary
public static final int[] jjnewLexState

Lex State array.

jjnewStateCntback to summary
pack-priv int jjnewStateCnt
jjnextStatesback to summary
pack-priv static final int[] jjnextStates
jjroundback to summary
pack-priv int jjround
jjroundsback to summary
private final int[] jjrounds
jjstateSetback to summary
private final int[] jjstateSet
jjstrLiteralImagesback to summary
public static final String[] jjstrLiteralImages

Token literal values.

jjtoMoreback to summary
pack-priv static final long[] jjtoMore
jjtoSkipback to summary
pack-priv static final long[] jjtoSkip
jjtoSpecialback to summary
pack-priv static final long[] jjtoSpecial
jjtoTokenback to summary
pack-priv static final long[] jjtoToken
lengthOfMatchback to summary
private int lengthOfMatch
lexStateNamesback to summary
public static final String[] lexStateNames

Lexer state names.

Constructor Detail

LaTeXParserTokenManagerback to summary
public LaTeXParserTokenManager(SimpleCharStream stream)

Constructor.

LaTeXParserTokenManagerback to summary
public LaTeXParserTokenManager(SimpleCharStream stream, int lexState)

Constructor.

Method Detail

getNextTokenback to summary
public Token getNextToken()

Get the next Token.

jjAddStatesback to summary
private void jjAddStates(int start, int end)
jjCanMove_0back to summary
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
jjCanMove_1back to summary
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
jjCanMove_2back to summary
private static final boolean jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2)
jjCheckNAddback to summary
private void jjCheckNAdd(int state)
jjCheckNAddTwoStatesback to summary
private void jjCheckNAddTwoStates(int state1, int state2)
jjFillTokenback to summary
protected Token jjFillToken()
jjMoveNfa_0back to summary
private int jjMoveNfa_0(int startState, int curPos)
jjMoveStringLiteralDfa0_0back to summary
private int jjMoveStringLiteralDfa0_0()
jjStartNfa_0back to summary
private final int jjStartNfa_0(int pos, long active0)
jjStopAtPosback to summary
private int jjStopAtPos(int pos, int kind)
jjStopStringLiteralDfa_0back to summary
private final int jjStopStringLiteralDfa_0(int pos, long active0)
MoreLexicalActionsback to summary
pack-priv void MoreLexicalActions()
ReInitback to summary
public void ReInit(SimpleCharStream stream)

Reinitialise parser.

ReInitback to summary
public void ReInit(SimpleCharStream stream, int lexState)

Reinitialise parser.

ReInitRoundsback to summary
private void ReInitRounds()
setDebugStreamback to summary
public void setDebugStream(PrintStream ds)

Set debug output.

SkipLexicalActionsback to summary
pack-priv void SkipLexicalActions(Token matchedToken)
SwitchToback to summary
public void SwitchTo(int lexState)

Switch to specified lex state.

TokenLexicalActionsback to summary
pack-priv void TokenLexicalActions(Token matchedToken)