bpp
Class BshPPParser

java.lang.Object
  extended bybpp.BshPPParser
All Implemented Interfaces:
BshPPParserConstants

public class BshPPParser
extends java.lang.Object
implements BshPPParserConstants


The Beanshell Preprocessor
Copyright (C) 2003 Warren D. MacEvoy jr.


Field Summary
 Token jj_nt
           
 Token token
           
 BshPPParserTokenManager token_source
           
 
Fields inherited from interface bpp.BshPPParserConstants
DEFAULT, DIGIT, EOF, IDENTIFIER, JAVA, JCHAR, JLPAREN, JPLAIN, JRPAREN, JSTRING, LETTER, LPAREN, NOWHERE, PLAIN, PLAIN_DOLLAR, RPAREN, tokenImage
 
Constructor Summary
BshPPParser(BshPPParserTokenManager tm)
           
BshPPParser(java.io.InputStream stream)
           
BshPPParser(java.io.Reader stream)
           
 
Method Summary
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void Line()
           
 java.lang.StringBuffer Magic()
           
static void parse(java.io.Reader r, BPPContext _pp)
           
 void ReInit(BshPPParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public BshPPParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

BshPPParser

public BshPPParser(java.io.InputStream stream)

BshPPParser

public BshPPParser(java.io.Reader stream)

BshPPParser

public BshPPParser(BshPPParserTokenManager tm)
Method Detail

parse

public static void parse(java.io.Reader r,
                         BPPContext _pp)
                  throws java.lang.Exception
Throws:
java.lang.Exception

Line

public final void Line()
                throws ParseException,
                       java.io.IOException
Throws:
ParseException
java.io.IOException

Magic

public final java.lang.StringBuffer Magic()
                                   throws ParseException,
                                          java.io.IOException
Throws:
ParseException
java.io.IOException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(BshPPParserTokenManager 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()