story.dbcore.grammars
Class SCParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by story.dbcore.grammars.SCParser
All Implemented Interfaces:
SCParserTokenTypes

public class SCParser
extends antlr.LLkParser
implements SCParserTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
 
Fields inherited from interface story.dbcore.grammars.SCParserTokenTypes
ASSIGNMENT, AT, CARAT, COLON, COMMA, COMMENT, DOCUMENT, DOLLAR, DOT, ECHO, ELSE, EOF, EQUALITY_DIRECT, EQUALITY_INDIRECT, EXAMINE, EXIT, FALSE, FRAMED_NAMEPART, HASH, ID, IF, INDIRECT_DOT, INTEGER, LANGLE, LCURLY, LINKTO_DIRECT, LINKTO_INDIRECT, LPAREN, LSQUARE, NAMEPART, NEGATION, NEW, NODEREPOSITORY, NULL_TREE_LOOKAHEAD, PIPE, PRINTSEQUENCE, QUIT, QUOTE, RANGLE, RCURLY, REPOSITORY, RPAREN, RSQUARE, RUN, SAVE, SEMI, SINGLELINE_COMMENT_DELIM, SLASH, STAR, STARTNAMECHAR, TRUE, UNLINK, VARS, WS
 
Constructor Summary
SCParser(antlr.ParserSharedInputState state)
           
SCParser(antlr.TokenBuffer tokenBuf)
           
SCParser(antlr.TokenStream lexer)
           
 
Method Summary
 ReturnValue argumentexpression(boolean execute, SymbolTable symbols)
           
 ArgumentVector arguments(boolean execute, SymbolTable symbols)
           
 ReturnValue assignmentexpression(boolean execute, SymbolTable symbols)
           
 void block(boolean execute, SymbolTable symbols)
           
 ReturnValue colonexpression(boolean execute, SymbolTable symbols)
           
 ReturnValue dotexpression(boolean execute, SymbolTable symbols)
           
 ReturnValue equalityexpression(boolean execute, SymbolTable symbols)
           
 ReturnValue expression(boolean execute, SymbolTable symbols)
           
 ReturnValue linkexpression(boolean execute, SymbolTable symbols)
           
 ReturnValue linkLabel(boolean execute, SymbolTable symbols)
           
 void match(int t)
           
 java.lang.Object param_arg(boolean execute, SymbolTable symbols, VariableID referenceID)
           
 Parameter parameter(boolean execute, SymbolTable symbols, ParameterSet parameterSet)
           
 ParameterSet parameterSet(boolean execute, SymbolTable symbols, ParameterSet parentParameterSet)
           
 ReturnValue parametersetexpression(boolean execute, SymbolTable symbols)
           
 java.lang.StringBuffer program(boolean execute, DBCoreInterface received_dbci, boolean received_echo_commands, boolean received_echo_returns, boolean received_dump_stdout)
           
 ReturnValue statement(boolean execute, SymbolTable symbols)
           
 ReturnValue term(boolean execute, SymbolTable symbols)
           
 ReturnValue unlinkexpression(boolean execute, SymbolTable symbols)
           
 
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, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3
Constructor Detail

SCParser

public SCParser(antlr.TokenBuffer tokenBuf)

SCParser

public SCParser(antlr.TokenStream lexer)

SCParser

public SCParser(antlr.ParserSharedInputState state)
Method Detail

match

public void match(int t)
           throws antlr.MismatchedTokenException,
                  antlr.TokenStreamException
Overrides:
match in class antlr.Parser
Throws:
antlr.MismatchedTokenException
antlr.TokenStreamException

program

public final java.lang.StringBuffer program(boolean execute,
                                            DBCoreInterface received_dbci,
                                            boolean received_echo_commands,
                                            boolean received_echo_returns,
                                            boolean received_dump_stdout)
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException,
                                            java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

block

public final void block(boolean execute,
                        SymbolTable symbols)
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException,
                        java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

statement

public final ReturnValue statement(boolean execute,
                                   SymbolTable symbols)
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException,
                                   java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

expression

public final ReturnValue expression(boolean execute,
                                    SymbolTable symbols)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException,
                                    java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

assignmentexpression

public final ReturnValue assignmentexpression(boolean execute,
                                              SymbolTable symbols)
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException,
                                              java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

unlinkexpression

public final ReturnValue unlinkexpression(boolean execute,
                                          SymbolTable symbols)
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException,
                                          java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

arguments

public final ArgumentVector arguments(boolean execute,
                                      SymbolTable symbols)
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException,
                                      java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

equalityexpression

public final ReturnValue equalityexpression(boolean execute,
                                            SymbolTable symbols)
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException,
                                            java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

linkexpression

public final ReturnValue linkexpression(boolean execute,
                                        SymbolTable symbols)
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException,
                                        java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

dotexpression

public final ReturnValue dotexpression(boolean execute,
                                       SymbolTable symbols)
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException,
                                       java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

argumentexpression

public final ReturnValue argumentexpression(boolean execute,
                                            SymbolTable symbols)
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException,
                                            java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

parametersetexpression

public final ReturnValue parametersetexpression(boolean execute,
                                                SymbolTable symbols)
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException,
                                                java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

colonexpression

public final ReturnValue colonexpression(boolean execute,
                                         SymbolTable symbols)
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException,
                                         java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

parameterSet

public final ParameterSet parameterSet(boolean execute,
                                       SymbolTable symbols,
                                       ParameterSet parentParameterSet)
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException,
                                       java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

term

public final ReturnValue term(boolean execute,
                              SymbolTable symbols)
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException,
                              java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

linkLabel

public final ReturnValue linkLabel(boolean execute,
                                   SymbolTable symbols)
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException,
                                   java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

parameter

public final Parameter parameter(boolean execute,
                                 SymbolTable symbols,
                                 ParameterSet parameterSet)
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException,
                                 java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception

param_arg

public final java.lang.Object param_arg(boolean execute,
                                        SymbolTable symbols,
                                        VariableID referenceID)
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException,
                                        java.lang.Exception
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.lang.Exception


Copyright © 2011 David K. Elson. All Rights Reserved.