wyvern.lib.commands.autobag
Class AutobagParser

java.lang.Object
  extended bywyvern.lib.commands.autobag.AutobagParser
All Implemented Interfaces:
AutobagParserConstants

public class AutobagParser
extends java.lang.Object
implements AutobagParserConstants


Field Summary
 Token jj_nt
           
 Token token
           
 AutobagParserTokenManager token_source
           
 
Fields inherited from interface wyvern.lib.commands.autobag.AutobagParserConstants
AND, AUTOBAG, CALL, DEFAULT, DESC, EE, EOF, EQ, GE, GL, GT, INTO, IS, ITEM, LE, LIKE, LT, NAME, NE, NOT, NUMBER_LITERAL, OR, QUANTITY, RULE, STRING_LITERAL, tokenImage, TYPE, TYPE_LITERAL, WHERE
 
Constructor Summary
AutobagParser(AutobagParserTokenManager tm)
           
AutobagParser(java.io.InputStream stream)
           
AutobagParser(java.io.Reader stream)
           
 
Method Summary
 Predicate AndList()
           
 BagList BagDesc()
           
 java.lang.String ComparisonOperator()
           
 Predicate Conditions()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
static void main(java.lang.String[] args)
           
 java.lang.String NameMatchProp()
           
 Predicate NameMatchRule()
           
 Predicate NegatedRule()
           
 Predicate NestedRule()
           
 Predicate OrList()
           
 Predicate PropRule()
           
 Predicate QuantityRule()
           
 void ReInit(AutobagParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 Predicate Rule()
           
 AutobagRule Start()
           
 java.lang.String StringOp()
           
 Predicate TypeRule()
           
 Predicate UnaryRule()
           
static java.lang.String unquote(java.lang.String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public AutobagParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

AutobagParser

public AutobagParser(java.io.InputStream stream)

AutobagParser

public AutobagParser(java.io.Reader stream)

AutobagParser

public AutobagParser(AutobagParserTokenManager tm)
Method Detail

main

public static void main(java.lang.String[] args)

unquote

public static java.lang.String unquote(java.lang.String token)

Start

public final AutobagRule Start()
                        throws ParseException
Throws:
ParseException

BagDesc

public final BagList BagDesc()
                      throws ParseException
Throws:
ParseException

Conditions

public final Predicate Conditions()
                           throws ParseException
Throws:
ParseException

OrList

public final Predicate OrList()
                       throws ParseException
Throws:
ParseException

AndList

public final Predicate AndList()
                        throws ParseException
Throws:
ParseException

UnaryRule

public final Predicate UnaryRule()
                          throws ParseException
Throws:
ParseException

NestedRule

public final Predicate NestedRule()
                           throws ParseException
Throws:
ParseException

NegatedRule

public final Predicate NegatedRule()
                            throws ParseException
Throws:
ParseException

Rule

public final Predicate Rule()
                     throws ParseException
Throws:
ParseException

NameMatchRule

public final Predicate NameMatchRule()
                              throws ParseException
Throws:
ParseException

StringOp

public final java.lang.String StringOp()
                                throws ParseException
Throws:
ParseException

NameMatchProp

public final java.lang.String NameMatchProp()
                                     throws ParseException
Throws:
ParseException

QuantityRule

public final Predicate QuantityRule()
                             throws ParseException
Throws:
ParseException

ComparisonOperator

public final java.lang.String ComparisonOperator()
                                          throws ParseException
Throws:
ParseException

TypeRule

public final Predicate TypeRule()
                         throws ParseException
Throws:
ParseException

PropRule

public final Predicate PropRule()
                         throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

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