Class ExpressionParser (2.0.0)

public class ExpressionParser extends Parser

Inheritance

Object > org.antlr.runtime.BaseRecognizer > org.antlr.runtime.Parser > ExpressionParser

Static Fields

ABS

public static final int ABS
Field Value
Type Description
int

AND

public static final int AND
Field Value
Type Description
int

ASCII_LETTER

public static final int ASCII_LETTER
Field Value
Type Description
int

ATOM

public static final int ATOM
Field Value
Type Description
int

COMMA

public static final int COMMA
Field Value
Type Description
int

COND

public static final int COND
Field Value
Type Description
int

COUNT

public static final int COUNT
Field Value
Type Description
int

DATE

public static final int DATE
Field Value
Type Description
int

DIGIT

public static final int DIGIT
Field Value
Type Description
int

DISTANCE

public static final int DISTANCE
Field Value
Type Description
int

DIV

public static final int DIV
Field Value
Type Description
int

DOLLAR

public static final int DOLLAR
Field Value
Type Description
int

DOT

public static final int DOT
Field Value
Type Description
int

EOF

public static final int EOF
Field Value
Type Description
int

EQ

public static final int EQ
Field Value
Type Description
int

ESC_SEQ

public static final int ESC_SEQ
Field Value
Type Description
int

EXPONENT

public static final int EXPONENT
Field Value
Type Description
int

FLOAT

public static final int FLOAT
Field Value
Type Description
int

FOLLOW_60_in_name464

public static final BitSet FOLLOW_60_in_name464
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_AND_in_conjunction121

public static final BitSet FOLLOW_AND_in_conjunction121
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_ATOM_in_name509

public static final BitSet FOLLOW_ATOM_in_name509
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_COMMA_in_fn618

public static final BitSet FOLLOW_COMMA_in_fn618
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_COND_in_condExpr100

public static final BitSet FOLLOW_COND_in_condExpr100
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_DATE_in_name522

public static final BitSet FOLLOW_DATE_in_name522
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_EOF_in_expression84

public static final BitSet FOLLOW_EOF_in_expression84
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_GEOPOINT_in_name561

public static final BitSet FOLLOW_GEOPOINT_in_name561
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_GEO_in_name548

public static final BitSet FOLLOW_GEO_in_name548
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_HTML_in_name496

public static final BitSet FOLLOW_HTML_in_name496
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_INT_in_index441

public static final BitSet FOLLOW_INT_in_index441
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_LPAREN_in_atom386

public static final BitSet FOLLOW_LPAREN_in_atom386
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_LPAREN_in_fn613

public static final BitSet FOLLOW_LPAREN_in_fn613
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_LSQUARE_in_index437

public static final BitSet FOLLOW_LSQUARE_in_index437
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_MINUS_in_unary332

public static final BitSet FOLLOW_MINUS_in_unary332
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_NAME_in_name461

public static final BitSet FOLLOW_NAME_in_name461
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_NAME_in_name467

public static final BitSet FOLLOW_NAME_in_name467
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_NOT_in_negation172

public static final BitSet FOLLOW_NOT_in_negation172
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_NUMBER_in_name535

public static final BitSet FOLLOW_NUMBER_in_name535
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_PHRASE_in_str598

public static final BitSet FOLLOW_PHRASE_in_str598
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_RPAREN_in_atom390

public static final BitSet FOLLOW_RPAREN_in_atom390
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_RPAREN_in_fn624

public static final BitSet FOLLOW_RPAREN_in_fn624
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_RSQUARE_in_index443

public static final BitSet FOLLOW_RSQUARE_in_index443
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_TEXT_in_name483

public static final BitSet FOLLOW_TEXT_in_name483
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_addExpr_in_cmpExpr188

public static final BitSet FOLLOW_addExpr_in_cmpExpr188
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_addExpr_in_cmpExpr194

public static final BitSet FOLLOW_addExpr_in_cmpExpr194
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_addExpr_in_condExpr103

public static final BitSet FOLLOW_addExpr_in_condExpr103
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_addOp_in_addExpr255

public static final BitSet FOLLOW_addOp_in_addExpr255
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_atom_in_unary334

public static final BitSet FOLLOW_atom_in_unary334
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_atom_in_unary349

public static final BitSet FOLLOW_atom_in_unary349
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_cmpExpr_in_negation166

public static final BitSet FOLLOW_cmpExpr_in_negation166
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_cmpExpr_in_negation175

public static final BitSet FOLLOW_cmpExpr_in_negation175
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_cmpOp_in_cmpExpr191

public static final BitSet FOLLOW_cmpOp_in_cmpExpr191
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_condExpr_in_fn615

public static final BitSet FOLLOW_condExpr_in_fn615
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_condExpr_in_fn620

public static final BitSet FOLLOW_condExpr_in_fn620
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_conjunction_in_atom388

public static final BitSet FOLLOW_conjunction_in_atom388
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_conjunction_in_condExpr97

public static final BitSet FOLLOW_conjunction_in_condExpr97
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_conjunction_in_expression82

public static final BitSet FOLLOW_conjunction_in_expression82
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_disjunction_in_conjunction118

public static final BitSet FOLLOW_disjunction_in_conjunction118
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_disjunction_in_conjunction124

public static final BitSet FOLLOW_disjunction_in_conjunction124
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_fnName_in_fn611

public static final BitSet FOLLOW_fnName_in_fn611
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_fn_in_atom380

public static final BitSet FOLLOW_fn_in_atom380
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_index_in_var415

public static final BitSet FOLLOW_index_in_var415
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_multExpr_in_addExpr252

public static final BitSet FOLLOW_multExpr_in_addExpr252
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_multExpr_in_addExpr258

public static final BitSet FOLLOW_multExpr_in_addExpr258
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_multOp_in_multExpr295

public static final BitSet FOLLOW_multOp_in_multExpr295
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_name_in_var407

public static final BitSet FOLLOW_name_in_var407
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_name_in_var413

public static final BitSet FOLLOW_name_in_var413
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_negation_in_disjunction139

public static final BitSet FOLLOW_negation_in_disjunction139
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_negation_in_disjunction151

public static final BitSet FOLLOW_negation_in_disjunction151
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_num_in_atom368

public static final BitSet FOLLOW_num_in_atom368
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_set_in_disjunction142

public static final BitSet FOLLOW_set_in_disjunction142
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_str_in_atom374

public static final BitSet FOLLOW_str_in_atom374
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_unary_in_multExpr292

public static final BitSet FOLLOW_unary_in_multExpr292
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_unary_in_multExpr298

public static final BitSet FOLLOW_unary_in_multExpr298
Field Value
Type Description
org.antlr.runtime.BitSet

FOLLOW_var_in_atom362

public static final BitSet FOLLOW_var_in_atom362
Field Value
Type Description
org.antlr.runtime.BitSet

GE

public static final int GE
Field Value
Type Description
int

GEO

public static final int GEO
Field Value
Type Description
int

GEOPOINT

public static final int GEOPOINT
Field Value
Type Description
int

GT

public static final int GT
Field Value
Type Description
int

HEX_DIGIT

public static final int HEX_DIGIT
Field Value
Type Description
int

HTML

public static final int HTML
Field Value
Type Description
int

INDEX

public static final int INDEX
Field Value
Type Description
int

INT

public static final int INT
Field Value
Type Description
int

LE

public static final int LE
Field Value
Type Description
int

LOG

public static final int LOG
Field Value
Type Description
int

LPAREN

public static final int LPAREN
Field Value
Type Description
int

LSQUARE

public static final int LSQUARE
Field Value
Type Description
int

LT

public static final int LT
Field Value
Type Description
int

MAX

public static final int MAX
Field Value
Type Description
int

MIN

public static final int MIN
Field Value
Type Description
int

MINUS

public static final int MINUS
Field Value
Type Description
int

NAME

public static final int NAME
Field Value
Type Description
int

NAME_START

public static final int NAME_START
Field Value
Type Description
int

NE

public static final int NE
Field Value
Type Description
int

NEG

public static final int NEG
Field Value
Type Description
int

NOT

public static final int NOT
Field Value
Type Description
int

NUMBER

public static final int NUMBER
Field Value
Type Description
int

OCTAL_ESC

public static final int OCTAL_ESC
Field Value
Type Description
int

OR

public static final int OR
Field Value
Type Description
int

PHRASE

public static final int PHRASE
Field Value
Type Description
int

PLUS

public static final int PLUS
Field Value
Type Description
int

POW

public static final int POW
Field Value
Type Description
int

QUOTE

public static final int QUOTE
Field Value
Type Description
int

RPAREN

public static final int RPAREN
Field Value
Type Description
int

RSQUARE

public static final int RSQUARE
Field Value
Type Description
int

SNIPPET

public static final int SNIPPET
Field Value
Type Description
int

SWITCH

public static final int SWITCH
Field Value
Type Description
int

TEXT

public static final int TEXT
Field Value
Type Description
int

TIMES

public static final int TIMES
Field Value
Type Description
int

T__60

public static final int T__60
Field Value
Type Description
int

UNDERSCORE

public static final int UNDERSCORE
Field Value
Type Description
int

UNICODE_ESC

public static final int UNICODE_ESC
Field Value
Type Description
int

VECTOR

public static final int VECTOR
Field Value
Type Description
int

WS

public static final int WS
Field Value
Type Description
int

XOR

public static final int XOR
Field Value
Type Description
int

tokenNames

public static final String[] tokenNames
Field Value
Type Description
String[]

Constructors

ExpressionParser(TokenStream input)

public ExpressionParser(TokenStream input)
Parameter
Name Description
input org.antlr.runtime.TokenStream

ExpressionParser(TokenStream input, RecognizerSharedState state)

public ExpressionParser(TokenStream input, RecognizerSharedState state)
Parameters
Name Description
input org.antlr.runtime.TokenStream
state org.antlr.runtime.RecognizerSharedState

Fields

adaptor

protected TreeAdaptor adaptor
Field Value
Type Description
org.antlr.runtime.tree.TreeAdaptor

dfa10

protected ExpressionParser.DFA10 dfa10
Field Value
Type Description
ExpressionParser.DFA10

Methods

addExpr()

public final ExpressionParser.addExpr_return addExpr()
Returns
Type Description
ExpressionParser.addExpr_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

addOp()

public final ExpressionParser.addOp_return addOp()
Returns
Type Description
ExpressionParser.addOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

atom()

public final ExpressionParser.atom_return atom()
Returns
Type Description
ExpressionParser.atom_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

cmpExpr()

public final ExpressionParser.cmpExpr_return cmpExpr()
Returns
Type Description
ExpressionParser.cmpExpr_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

cmpOp()

public final ExpressionParser.cmpOp_return cmpOp()
Returns
Type Description
ExpressionParser.cmpOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

condExpr()

public final ExpressionParser.condExpr_return condExpr()
Returns
Type Description
ExpressionParser.condExpr_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

conjunction()

public final ExpressionParser.conjunction_return conjunction()
Returns
Type Description
ExpressionParser.conjunction_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

disjunction()

public final ExpressionParser.disjunction_return disjunction()
Returns
Type Description
ExpressionParser.disjunction_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

expression()

public final ExpressionParser.expression_return expression()
Returns
Type Description
ExpressionParser.expression_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

fn()

public final ExpressionParser.fn_return fn()
Returns
Type Description
ExpressionParser.fn_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

fnName()

public final ExpressionParser.fnName_return fnName()
Returns
Type Description
ExpressionParser.fnName_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

getDelegates()

public Parser[] getDelegates()
Returns
Type Description
org.antlr.runtime.Parser[]

getGrammarFileName()

public String getGrammarFileName()
Returns
Type Description
String
Overrides
org.antlr.runtime.BaseRecognizer.getGrammarFileName()

getTokenNames()

public String[] getTokenNames()
Returns
Type Description
String[]
Overrides
org.antlr.runtime.BaseRecognizer.getTokenNames()

getTreeAdaptor()

public TreeAdaptor getTreeAdaptor()
Returns
Type Description
org.antlr.runtime.tree.TreeAdaptor

index()

public final ExpressionParser.index_return index()
Returns
Type Description
ExpressionParser.index_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

multExpr()

public final ExpressionParser.multExpr_return multExpr()
Returns
Type Description
ExpressionParser.multExpr_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

multOp()

public final ExpressionParser.multOp_return multOp()
Returns
Type Description
ExpressionParser.multOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

name()

public final ExpressionParser.name_return name()
Returns
Type Description
ExpressionParser.name_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

negation()

public final ExpressionParser.negation_return negation()
Returns
Type Description
ExpressionParser.negation_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

num()

public final ExpressionParser.num_return num()
Returns
Type Description
ExpressionParser.num_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)

public Object recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)
Parameters
Name Description
input org.antlr.runtime.IntStream
e org.antlr.runtime.RecognitionException
follow org.antlr.runtime.BitSet
Returns
Type Description
Object
Overrides
org.antlr.runtime.BaseRecognizer.recoverFromMismatchedSet(org.antlr.runtime.IntStream,org.antlr.runtime.RecognitionException,org.antlr.runtime.BitSet)
Exceptions
Type Description
org.antlr.runtime.RecognitionException

recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)

protected Object recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
Parameters
Name Description
input org.antlr.runtime.IntStream
ttype int
follow org.antlr.runtime.BitSet
Returns
Type Description
Object
Overrides
org.antlr.runtime.BaseRecognizer.recoverFromMismatchedToken(org.antlr.runtime.IntStream,int,org.antlr.runtime.BitSet)
Exceptions
Type Description
org.antlr.runtime.RecognitionException

setTreeAdaptor(TreeAdaptor adaptor)

public void setTreeAdaptor(TreeAdaptor adaptor)
Parameter
Name Description
adaptor org.antlr.runtime.tree.TreeAdaptor

str()

public final ExpressionParser.str_return str()
Returns
Type Description
ExpressionParser.str_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

unary()

public final ExpressionParser.unary_return unary()
Returns
Type Description
ExpressionParser.unary_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

var()

public final ExpressionParser.var_return var()
Returns
Type Description
ExpressionParser.var_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException