Top Inners Fields Constructors Methods
org.jbibtex

public Class LaTeXParser

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
private static class

Field Summary

Modifier and TypeField and Description
private final LaTeXParser.JJCalls[]
private int
private List<int[]>
private int[]
private int
private int
pack-priv SimpleCharStream
private int
private int
private final int[]
private static int[]
private Token
private int[]
private static final LaTeXParser.LookaheadSuccess
public Token
jj_nt

Next token.

private int
private boolean
private Token
public Token
token

Current token.

public LaTeXParserTokenManager
token_source

Generated Token Manager.

private boolean

Constructor Summary

AccessConstructor and Description
public
public
LaTeXParser(Provider stream)

Constructor.

public
LaTeXParser(String dsl)

Constructor.

public
LaTeXParser(LaTeXParserTokenManager tm)

Constructor with generated Token Manager.

Method Summary

Modifier and TypeMethod and Description
private final LaTeXCommand
public final void
disable_tracing()

Disable tracing.

public final void
enable_tracing()

Enable tracing.

public ParseException
generateParseException()

Generate ParseException.

public final Token
getNextToken()

Get the next Token.

public final Token
getToken(int index)

Get the specific Token.

private final LaTeXGroup
private boolean
jj_2_1(int xla)

private boolean
jj_2_2(int xla)

private boolean
jj_2_3(int xla)

private boolean
private boolean
private boolean
private boolean
private boolean
private void
jj_add_error_token(int kind, int pos)

private Token
jj_consume_token(int kind)

private static void
private int
private void
private void
jj_save(int index, int xla)

private boolean
jj_scan_token(int kind)

private final List<LaTeXObject>
private final String
Name()

private final String
private final LaTeXObject
private final List<LaTeXObject>
public List<LaTeXObject>
parse(String string)

public List<LaTeXObject>
parse(Reader reader)

public void
public void
ReInit(Provider stream)

Reinitialise.

public void
private final String
private final LaTeXString
private final String
public final boolean
trace_enabled()

Trace enabled.

private final void
private final String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jj_2_rtnsback to summary
private final LaTeXParser.JJCalls[] jj_2_rtns
jj_endposback to summary
private int jj_endpos
jj_expentriesback to summary
private List<int[]> jj_expentries
jj_expentryback to summary
private int[] jj_expentry
jj_gcback to summary
private int jj_gc
jj_genback to summary
private int jj_gen
jj_input_streamback to summary
pack-priv SimpleCharStream jj_input_stream
jj_kindback to summary
private int jj_kind
jj_laback to summary
private int jj_la
jj_la1back to summary
private final int[] jj_la1
jj_la1_0back to summary
private static int[] jj_la1_0
jj_lastposback to summary
private Token jj_lastpos
jj_lasttokensback to summary
private int[] jj_lasttokens
jj_lsback to summary
private static final LaTeXParser.LookaheadSuccess jj_ls
jj_ntback to summary
public Token jj_nt

Next token.

jj_ntkback to summary
private int jj_ntk
jj_rescanback to summary
private boolean jj_rescan
jj_scanposback to summary
private Token jj_scanpos
tokenback to summary
public Token token

Current token.

token_sourceback to summary
public LaTeXParserTokenManager token_source

Generated Token Manager.

trace_enabledback to summary
private boolean trace_enabled

Constructor Detail

LaTeXParserback to summary
public LaTeXParser() throws ParseException
LaTeXParserback to summary
public LaTeXParser(Provider stream)

Constructor.

LaTeXParserback to summary
public LaTeXParser(String dsl) throws ParseException, TokenMgrException

Constructor.

LaTeXParserback to summary
public LaTeXParser(LaTeXParserTokenManager tm)

Constructor with generated Token Manager.

Method Detail

Commandback to summary
private final LaTeXCommand Command() throws ParseException
disable_tracingback to summary
public final void disable_tracing()

Disable tracing.

enable_tracingback to summary
public final void enable_tracing()

Enable tracing.

generateParseExceptionback to summary
public ParseException generateParseException()

Generate ParseException.

getNextTokenback to summary
public final Token getNextToken()

Get the next Token.

getTokenback to summary
public final Token getToken(int index)

Get the specific Token.

Groupback to summary
private final LaTeXGroup Group() throws ParseException
jj_2_1back to summary
private boolean jj_2_1(int xla)
jj_2_2back to summary
private boolean jj_2_2(int xla)
jj_2_3back to summary
private boolean jj_2_3(int xla)
jj_3_1back to summary
private boolean jj_3_1()
jj_3_2back to summary
private boolean jj_3_2()
jj_3_3back to summary
private boolean jj_3_3()
jj_3R_TextCharacter_236_9_6back to summary
private boolean jj_3R_TextCharacter_236_9_6()
jj_3R_WhitespaceCharacter_166_9_5back to summary
private boolean jj_3R_WhitespaceCharacter_166_9_5()
jj_add_error_tokenback to summary
private void jj_add_error_token(int kind, int pos)
jj_consume_tokenback to summary
private Token jj_consume_token(int kind) throws ParseException
jj_la1_init_0back to summary
private static void jj_la1_init_0()
jj_ntk_fback to summary
private int jj_ntk_f()
jj_rescan_tokenback to summary
private void jj_rescan_token()
jj_saveback to summary
private void jj_save(int index, int xla)
jj_scan_tokenback to summary
private boolean jj_scan_token(int kind)
LaTeXback to summary
private final List<LaTeXObject> LaTeX() throws ParseException
Nameback to summary
private final String Name() throws ParseException
NonSpecialCharacterback to summary
private final String NonSpecialCharacter() throws ParseException
Objectback to summary
private final LaTeXObject Object() throws ParseException
ObjectListback to summary
private final List<LaTeXObject> ObjectList() throws ParseException
parseback to summary
public List<LaTeXObject> parse(String string) throws ParseException, TokenMgrException
See Also
LaTeXParser#parse(Reader)
parseback to summary
public List<LaTeXObject> parse(Reader reader) throws ParseException, TokenMgrException
Exceptions
TokenMgrException:
If the input contains invalid characters
See Also
CharacterFilterReader
ReInitback to summary
public void ReInit(String s)
ReInitback to summary
public void ReInit(Provider stream)

Reinitialise.

ReInitback to summary
public void ReInit(LaTeXParserTokenManager tm)

Reinitialise.

SpecialCharacterback to summary
private final String SpecialCharacter() throws ParseException
Stringback to summary
private final LaTeXString String() throws ParseException
TextCharacterback to summary
private final String TextCharacter() throws ParseException
trace_enabledback to summary
public final boolean trace_enabled()

Trace enabled.

Whitespaceback to summary
private final void Whitespace() throws ParseException
WhitespaceCharacterback to summary
private final String WhitespaceCharacter() throws ParseException
org.jbibtex back to summary

pack-priv final Class LaTeXParser.JJCalls

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv Token
pack-priv int
pack-priv LaTeXParser.JJCalls

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argback to summary
pack-priv int arg
firstback to summary
pack-priv Token first
genback to summary
pack-priv int gen
nextback to summary
pack-priv LaTeXParser.JJCalls next

Constructor Detail

JJCallsback to summary
pack-priv JJCalls()
org.jbibtex back to summary

private final Class LaTeXParser.LookaheadSuccess

extends RuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Throwable
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace.

Constructor Detail

LookaheadSuccessback to summary
private LookaheadSuccess()

Method Detail

fillInStackTraceback to summary
public Throwable fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Doc from java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this Throwable is not writable, calling this method has no effect.

Annotations
@Override