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() |
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
ParseException
public final TimeBase Expr() throws ParseException
ParseException
public final TimeBase Sum() throws ParseException
ParseException
public final TimeBase Term() throws ParseException
ParseException
public final TimeIndefinite IndefiniteTime() throws ParseException
ParseException
public final TimeDiscrete EventTime() throws ParseException
ParseException
public final TimeDiscrete LiteralTime() throws ParseException
ParseException
public final TimeLookup LookupTime() throws ParseException
ParseException
public final double ParamList() throws ParseException
ParseException
public final double Number() throws ParseException
ParseException
public final int Integer() throws ParseException
ParseException
public 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 void enable_tracing()
public final void disable_tracing()
Copyright ?? 2011-2014 Kitfox Studios. All Rights Reserved.