wyvern.lib.commands.autobag
Class AutobagParser
java.lang.Object
wyvern.lib.commands.autobag.AutobagParser
- All Implemented Interfaces:
- AutobagParserConstants
- public class AutobagParser
- extends java.lang.Object
- implements AutobagParserConstants
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public AutobagParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
AutobagParser
public AutobagParser(java.io.InputStream stream)
AutobagParser
public AutobagParser(java.io.Reader stream)
AutobagParser
public AutobagParser(AutobagParserTokenManager tm)
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()