orc.parser
Class OrcParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by orc.parser.OrcParser
All Implemented Interfaces:
OrcParserTokenTypes

public class OrcParser
extends antlr.LLkParser
implements OrcParserTokenTypes


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_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface orc.parser.OrcParserTokenTypes
ALPHA, AMPERSAND, AND, ATSIGN, BANG, BEGIN_COMMENT, COLON, COMMA, DIGIT, DIV, DOT, END_COMMENT, EOF, EQ, ESCAPE, FALSE, GT, GTE, INT, LANGLE, LBRACE, LBRACKET, LITERAL_as, LITERAL_class, LITERAL_def, LITERAL_include, LITERAL_lambda, LITERAL_null, LITERAL_site, LITERAL_val, LPAREN, LT, LTE, MINUS, ML_COMMENT, MOD, NAME, NOT, NOT_EQ, NULL_TREE_LOOKAHEAD, OR, PAR, PLUS, RANGLE, RBRACE, RBRACKET, RPAREN, SEMI, SL_COMMENT, STRING, TIMES, TRUE, UNDERSCORE, WS
 
Constructor Summary
  OrcParser(antlr.ParserSharedInputState state)
           
  OrcParser(antlr.TokenBuffer tokenBuf)
           
protected OrcParser(antlr.TokenBuffer tokenBuf, int k)
           
  OrcParser(antlr.TokenStream lexer)
           
protected OrcParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 Expression addingExpression()
           
 java.util.List<Expression> arguments()
           
 Expression basic_expr()
           
 Pattern basic_pattern()
           
 Expression booleanNegationExpression()
           
 java.lang.String class_name()
           
 Pattern cons_pattern()
           
 Expression consExpression()
           
 Declaration decl_class()
           
 Declaration decl_defs()
           
 Declaration decl_site()
           
 Declaration decl_val()
           
 Declaration decl()
           
 java.util.List<Declaration> decls()
           
 java.util.List<Declaration> decRule()
           
 java.util.List<Definition> defn_group()
           
 Definition defn()
           
 Expression expr()
           
 java.util.List<Pattern> formals_list()
           
 java.lang.String ident_name()
           
 java.util.List<Declaration> include()
           
 Expression invoke_expr()
           
 Expression lambda_expr()
           
 Expression list_expr()
           
 Pattern list_pattern()
           
 Literal literal()
           
 Expression multiplyingExpression()
           
 Expression op_expr()
           
 Expression par_expr()
           
 Pattern pattern()
           
 Expression relationalExpression()
           
 Expression semi_expr()
           
 Expression seq_expr()
           
 Expression signExpression()
           
 Expression silent_expr()
           
 Expression startRule()
           
 Expression tuple_expr()
           
 Pattern tuple_pattern()
           
 Expression where_expr()
           
 
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

_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

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

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

OrcParser

protected OrcParser(antlr.TokenBuffer tokenBuf,
                    int k)

OrcParser

public OrcParser(antlr.TokenBuffer tokenBuf)

OrcParser

protected OrcParser(antlr.TokenStream lexer,
                    int k)

OrcParser

public OrcParser(antlr.TokenStream lexer)

OrcParser

public OrcParser(antlr.ParserSharedInputState state)
Method Detail

startRule

public final Expression startRule()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expr

public final Expression expr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decRule

public final java.util.List<Declaration> decRule()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decls

public final java.util.List<Declaration> decls()
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

semi_expr

public final Expression semi_expr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decl

public final Declaration decl()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

include

public final java.util.List<Declaration> include()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decl_site

public final Declaration decl_site()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decl_class

public final Declaration decl_class()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decl_defs

public final Declaration decl_defs()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

decl_val

public final Declaration decl_val()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

pattern

public final Pattern pattern()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

ident_name

public final java.lang.String ident_name()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

class_name

public final java.lang.String class_name()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

defn_group

public final java.util.List<Definition> defn_group()
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

defn

public final Definition defn()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

formals_list

public final java.util.List<Pattern> formals_list()
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

where_expr

public final Expression where_expr()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

par_expr

public final Expression par_expr()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

seq_expr

public final Expression seq_expr()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

op_expr

public final Expression op_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

relationalExpression

public final Expression relationalExpression()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

addingExpression

public final Expression addingExpression()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

multiplyingExpression

public final Expression multiplyingExpression()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

signExpression

public final Expression signExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

booleanNegationExpression

public final Expression booleanNegationExpression()
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

consExpression

public final Expression consExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

basic_expr

public final Expression basic_expr()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

invoke_expr

public final Expression invoke_expr()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

lambda_expr

public final Expression lambda_expr()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

tuple_expr

public final Expression tuple_expr()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list_expr

public final Expression list_expr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

silent_expr

public final Expression silent_expr()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final Literal literal()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

arguments

public final java.util.List<Expression> arguments()
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

cons_pattern

public final Pattern cons_pattern()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

basic_pattern

public final Pattern basic_pattern()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

tuple_pattern

public final Pattern tuple_pattern()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list_pattern

public final Pattern list_pattern()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException