public class AnimTimeParser extends Object implements AnimTimeParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
AnimTimeParserTokenManager |
token_source
Generated Token Manager.
|
DEFAULT, DIGIT, EOF, FLOAT, IDENTIFIER, INDEFINITE, INTEGER, LETTER, MOUSE_OVER, tokenImage, UNITS, WHEN_NOT_ACTIVE| Constructor and Description |
|---|
AnimTimeParser(AnimTimeParserTokenManager tm)
Constructor with generated Token Manager.
|
AnimTimeParser(InputStream stream)
Constructor with InputStream.
|
AnimTimeParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
AnimTimeParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
TimeDiscrete |
EventTime() |
TimeBase |
Expr()
Expression structure
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
TimeIndefinite |
IndefiniteTime() |
int |
Integer() |
TimeDiscrete |
LiteralTime() |
TimeLookup |
LookupTime() |
static void |
main(String[] args)
Test the parser
|
double |
Number() |
double |
ParamList() |
void |
ReInit(AnimTimeParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
TimeBase |
Sum() |
TimeBase |
Term() |
boolean |
trace_enabled()
Trace enabled.
|
public AnimTimeParserTokenManager token_source
public AnimTimeParser(InputStream stream)
public AnimTimeParser(InputStream stream, String encoding)
public AnimTimeParser(Reader stream)
public AnimTimeParser(AnimTimeParserTokenManager tm)
public static void main(String[] args) throws ParseException
ParseExceptionpublic final TimeBase Expr() throws ParseException
ParseExceptionpublic final TimeBase Sum() throws ParseException
ParseExceptionpublic final TimeBase Term() throws ParseException
ParseExceptionpublic final TimeIndefinite IndefiniteTime() throws ParseException
ParseExceptionpublic final TimeDiscrete EventTime() throws ParseException
ParseExceptionpublic final TimeDiscrete LiteralTime() throws ParseException
ParseExceptionpublic final TimeLookup LookupTime() throws ParseException
ParseExceptionpublic final double ParamList() throws ParseException
ParseExceptionpublic final double Number() throws ParseException
ParseExceptionpublic final int Integer() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(AnimTimeParserTokenManager tm)
public final Token getNextToken()
public ParseException generateParseException()
public final boolean trace_enabled()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2011-2017 Kitfox Studios. All Rights Reserved.