bpp
Class BshPPParser
java.lang.Object
bpp.BshPPParser
- All Implemented Interfaces:
- BshPPParserConstants
- public class BshPPParser
- extends java.lang.Object
- implements BshPPParserConstants
The Beanshell Preprocessor
Copyright (C) 2003 Warren D. MacEvoy jr.
Fields inherited from interface bpp.BshPPParserConstants |
DEFAULT, DIGIT, EOF, IDENTIFIER, JAVA, JCHAR, JLPAREN, JPLAIN, JRPAREN, JSTRING, LETTER, LPAREN, NOWHERE, PLAIN, PLAIN_DOLLAR, RPAREN, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public BshPPParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
BshPPParser
public BshPPParser(java.io.InputStream stream)
BshPPParser
public BshPPParser(java.io.Reader stream)
BshPPParser
public BshPPParser(BshPPParserTokenManager tm)
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()