com.kitfox.svg.animation.parser
Class AnimTimeParser

java.lang.Object
  extended by com.kitfox.svg.animation.parser.AnimTimeParser
All Implemented Interfaces:
AnimTimeParserConstants, AnimTimeParserTreeConstants

public class AnimTimeParser
extends java.lang.Object
implements AnimTimeParserTreeConstants, AnimTimeParserConstants


Field Summary
 Token jj_nt
           
protected  com.kitfox.svg.animation.parser.JJTAnimTimeParserState jjtree
           
 boolean lookingAhead
           
 Token token
           
 AnimTimeParserTokenManager token_source
           
 
Fields inherited from interface com.kitfox.svg.animation.parser.AnimTimeParserTreeConstants
JJTEXPR, JJTINDEFINITETIME, JJTINTEGER, JJTLITERALTIME, JJTLOOKUPTIME, jjtNodeName, JJTNUMBER, JJTPARAMLIST, JJTSUM, JJTTERM
 
Fields inherited from interface com.kitfox.svg.animation.parser.AnimTimeParserConstants
DEFAULT, DIGIT, EOF, FLOAT, IDENTIFIER, INDEFINITE, INTEGER, LETTER, tokenImage, UNITS
 
Constructor Summary
AnimTimeParser(AnimTimeParserTokenManager tm)
           
AnimTimeParser(java.io.InputStream stream)
           
AnimTimeParser(java.io.Reader stream)
           
 
Method Summary
 void disable_tracing()
           
 void enable_tracing()
           
 TimeBase Expr()
          Expression structure
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 TimeIndefinite IndefiniteTime()
           
 int Integer()
           
 TimeDiscrete LiteralTime()
           
 TimeLookup LookupTime()
           
static void main(java.lang.String[] args)
          Test the parser
 double Number()
           
 double ParamList()
           
 void ReInit(AnimTimeParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 TimeBase Sum()
           
 TimeBase Term()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected com.kitfox.svg.animation.parser.JJTAnimTimeParserState jjtree

token_source

public AnimTimeParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

AnimTimeParser

public AnimTimeParser(java.io.InputStream stream)

AnimTimeParser

public AnimTimeParser(java.io.Reader stream)

AnimTimeParser

public AnimTimeParser(AnimTimeParserTokenManager tm)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ParseException
Test the parser

Throws:
ParseException

Expr

public final TimeBase Expr()
                    throws ParseException
Expression structure

Throws:
ParseException

Sum

public final TimeBase Sum()
                   throws ParseException
Throws:
ParseException

Term

public final TimeBase Term()
                    throws ParseException
Throws:
ParseException

IndefiniteTime

public final TimeIndefinite IndefiniteTime()
                                    throws ParseException
Throws:
ParseException

LiteralTime

public final TimeDiscrete LiteralTime()
                               throws ParseException
Throws:
ParseException

LookupTime

public final TimeLookup LookupTime()
                            throws ParseException
Throws:
ParseException

ParamList

public final double ParamList()
                       throws ParseException
Throws:
ParseException

Number

public final double Number()
                    throws ParseException
Throws:
ParseException

Integer

public final int Integer()
                  throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

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