org.jscience.computing.ai.planning
Class PlannerParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by org.jscience.computing.ai.planning.PlannerParser
All Implemented Interfaces:
PlannerTokenTypes

public class PlannerParser
extends antlr.LLkParser
implements PlannerTokenTypes

DOCUMENT ME!


Field Summary
static java.lang.String[] _tokenNames
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_0
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_1
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_2
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_3
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_4
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_5
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_6
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_7
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_8
          DOCUMENT ME!
static antlr.collections.impl.BitSet _tokenSet_9
          DOCUMENT ME!
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.jscience.computing.ai.planning.PlannerTokenTypes
AND, ASSIGN, AXIOM, CALL, COMMENT, DEFDOMAIN, DEFPROBLEM, DEFPROBLEMSET, DIV, DOT, EOF, EQUAL, FIRST, FORALL, ID, IMMEDIATE, IMPLY, LESS, LESSEQ, LP, MEMBER, METHOD, MINUS, MORE, MOREEQ, MULT, NIL, NOT, NOTEQ, NULL_TREE_LOOKAHEAD, NUM, OPERATOR, OPID, OR, PLUS, POWER, PROTECTION, RP, SORT, STDLIB, UNORDERED, VARID, WS
 
Constructor Summary
  PlannerParser(antlr.ParserSharedInputState state)
          Creates a new PlannerParser object.
  PlannerParser(antlr.TokenBuffer tokenBuf)
          Creates a new PlannerParser object.
protected PlannerParser(antlr.TokenBuffer tokenBuf, int k)
          Creates a new PlannerParser object.
  PlannerParser(antlr.TokenStream lexer)
          Creates a new PlannerParser object.
protected PlannerParser(antlr.TokenStream lexer, int k)
          Creates a new PlannerParser object.
 
Method Summary
 void axiom()
          DOCUMENT ME!
 void command()
          DOCUMENT ME!
 java.util.Vector da()
          DOCUMENT ME!
 DelAddElement dae()
          DOCUMENT ME!
 void domain()
          DOCUMENT ME!
 java.lang.String fid()
          DOCUMENT ME!
 void initialize(PlannerLexer lexerIn, InternalDomain domainIn)
          DOCUMENT ME!
 Predicate la()
          DOCUMENT ME!
 LogicalExpression le()
          DOCUMENT ME!
 LogicalPrecondition lp()
          DOCUMENT ME!
 void method()
          DOCUMENT ME!
 void op()
          DOCUMENT ME!
 void pde()
          DOCUMENT ME!
 void prob()
          DOCUMENT ME!
 void probset()
          DOCUMENT ME!
 TaskAtom ta()
          DOCUMENT ME!
 Term term()
          DOCUMENT ME!
 List terml()
          DOCUMENT ME!
 TaskList tl()
          DOCUMENT ME!
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames
DOCUMENT ME!


_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0
DOCUMENT ME!


_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1
DOCUMENT ME!


_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2
DOCUMENT ME!


_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3
DOCUMENT ME!


_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4
DOCUMENT ME!


_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5
DOCUMENT ME!


_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6
DOCUMENT ME!


_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7
DOCUMENT ME!


_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8
DOCUMENT ME!


_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9
DOCUMENT ME!

Constructor Detail

PlannerParser

protected PlannerParser(antlr.TokenBuffer tokenBuf,
                        int k)
Creates a new PlannerParser object.

Parameters:
tokenBuf - DOCUMENT ME!
k - DOCUMENT ME!

PlannerParser

public PlannerParser(antlr.TokenBuffer tokenBuf)
Creates a new PlannerParser object.

Parameters:
tokenBuf - DOCUMENT ME!

PlannerParser

protected PlannerParser(antlr.TokenStream lexer,
                        int k)
Creates a new PlannerParser object.

Parameters:
lexer - DOCUMENT ME!
k - DOCUMENT ME!

PlannerParser

public PlannerParser(antlr.TokenStream lexer)
Creates a new PlannerParser object.

Parameters:
lexer - DOCUMENT ME!

PlannerParser

public PlannerParser(antlr.ParserSharedInputState state)
Creates a new PlannerParser object.

Parameters:
state - DOCUMENT ME!
Method Detail

initialize

public void initialize(PlannerLexer lexerIn,
                       InternalDomain domainIn)
DOCUMENT ME!

Parameters:
lexerIn - DOCUMENT ME!
domainIn - DOCUMENT ME!

command

public final void command()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException,
                          java.io.IOException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

prob

public final void prob()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException,
                       java.io.IOException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

probset

public final void probset()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

la

public final Predicate la()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

tl

public final TaskList tl()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

domain

public final void domain()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException,
                         java.io.IOException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

pde

public final void pde()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

method

public final void method()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

op

public final void op()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

axiom

public final void axiom()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
DOCUMENT ME!

Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

terml

public final List terml()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!

lp

public final LogicalPrecondition lp()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

da

public final java.util.Vector da()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

term

public final Term term()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

dae

public final DelAddElement dae()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

le

public final LogicalExpression le()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

ta

public final TaskAtom ta()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!

fid

public final java.lang.String fid()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
antlr.RecognitionException - DOCUMENT ME!
antlr.TokenStreamException - DOCUMENT ME!
antlr.NoViableAltException - DOCUMENT ME!