com.jeffpalm.bib
Class BibParser

java.lang.Object
  extended by com.jeffpalm.bib.BibParser
All Implemented Interfaces:
BibParserConstants

public final class BibParser
extends java.lang.Object
implements BibParserConstants


Field Summary
 Bib bib
           
 Token jj_nt
           
 Token token
           
 BibParserTokenManager token_source
           
 
Fields inherited from interface com.jeffpalm.bib.BibParserConstants
DEFAULT, DIGIT, EOF, IDENTIFIER, INT_LITERAL, LBRACE, LETTER, RBRACE, STRING_LITERAL1, STRING_LITERAL2, tokenImage
 
Constructor Summary
BibParser(BibParserTokenManager tm)
           
BibParser(java.io.InputStream stream)
           
BibParser(java.io.Reader stream)
           
 
Method Summary
static Bib bib()
           
 void Citation()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
static BibParser getInstance(java.io.File f)
           
 Token getNextToken()
           
 Token getToken(int index)
           
 java.lang.String Ident()
           
static void main(java.lang.String[] args)
           
 java.lang.String Num()
           
static void parse(java.io.File f)
           
 java.lang.String[] Property()
           
 void ReInit(BibParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void Start()
           
 java.lang.String Str()
           
 void StringDec()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bib

public final Bib bib

token_source

public BibParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

BibParser

public BibParser(java.io.InputStream stream)

BibParser

public BibParser(java.io.Reader stream)

BibParser

public BibParser(BibParserTokenManager tm)
Method Detail

getInstance

public static final BibParser getInstance(java.io.File f)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

bib

public static final Bib bib()

parse

public static final void parse(java.io.File f)
                        throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)

Start

public final void Start()
                 throws ParseException
Throws:
ParseException

StringDec

public final void StringDec()
                     throws ParseException
Throws:
ParseException

Property

public final java.lang.String[] Property()
                                  throws ParseException
Throws:
ParseException

Citation

public final void Citation()
                    throws ParseException
Throws:
ParseException

Ident

public final java.lang.String Ident()
                             throws ParseException
Throws:
ParseException

Str

public final java.lang.String Str()
                           throws ParseException
Throws:
ParseException

Num

public final java.lang.String Num()
                           throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(BibParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()