Class QueryParser (2.0.0)

public class QueryParser extends Parser

Inheritance

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

Static Fields

AND

public static final int AND
Field Value
Type Description
int

ARGS

public static final int ARGS
Field Value
Type Description
int

BACKSLASH

public static final int BACKSLASH
Field Value
Type Description
int

COMMA

public static final int COMMA
Field Value
Type Description
int

CONJUNCTION

public static final int CONJUNCTION
Field Value
Type Description
int

DIGIT

public static final int DIGIT
Field Value
Type Description
int

DISJUNCTION

public static final int DISJUNCTION
Field Value
Type Description
int

EMPTY

public static final int EMPTY
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

public static final int ESC
Field Value
Type Description
int

ESCAPED_CHAR

public static final int ESCAPED_CHAR
Field Value
Type Description
int

EXCLAMATION

public static final int EXCLAMATION
Field Value
Type Description
int

FIX

public static final int FIX
Field Value
Type Description
int

FOLLOW_AND_in_andOp755

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

FOLLOW_COMMA_in_sep818

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

FOLLOW_EOF_in_query151

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

FOLLOW_EOF_in_query188

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

FOLLOW_EQ_in_comparator596

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

FOLLOW_FIX_in_item866

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

FOLLOW_GE_in_comparator578

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

FOLLOW_GT_in_comparator584

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

FOLLOW_HAS_in_comparator602

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

FOLLOW_LESSTHAN_in_comparator572

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

FOLLOW_LE_in_comparator566

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

FOLLOW_LPAREN_in_composite836

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

FOLLOW_LPAREN_in_function667

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

FOLLOW_MINUS_in_notOp792

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

FOLLOW_NE_in_comparator590

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

FOLLOW_NOT_in_notOp798

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

FOLLOW_OR_in_orOp775

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

FOLLOW_QUOTE_in_phrase970

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

FOLLOW_QUOTE_in_phrase976

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

FOLLOW_REWRITE_in_item882

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

FOLLOW_RPAREN_in_composite846

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

FOLLOW_RPAREN_in_function671

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

FOLLOW_TEXT_in_text956

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

FOLLOW_WS_in_andOp752

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

FOLLOW_WS_in_andOp757

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

FOLLOW_WS_in_comparator560

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

FOLLOW_WS_in_comparator605

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

FOLLOW_WS_in_composite838

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

FOLLOW_WS_in_composite843

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

FOLLOW_WS_in_notOp800

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

FOLLOW_WS_in_orOp772

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

FOLLOW_WS_in_orOp777

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

FOLLOW_WS_in_query148

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

FOLLOW_WS_in_query180

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

FOLLOW_WS_in_query185

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

FOLLOW_WS_in_sep815

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

FOLLOW_WS_in_sep820

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

FOLLOW_WS_in_sequence324

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

FOLLOW_andOp_in_expression248

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

FOLLOW_arg_in_arglist706

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

FOLLOW_arg_in_arglist711

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

FOLLOW_arg_in_restriction530

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

FOLLOW_arglist_in_function669

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

FOLLOW_comparable_in_arg732

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

FOLLOW_comparable_in_restriction493

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

FOLLOW_comparator_in_restriction528

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

FOLLOW_composite_in_arg738

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

FOLLOW_composite_in_primitive476

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

FOLLOW_expression_in_composite841

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

FOLLOW_expression_in_query183

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

FOLLOW_factor_in_sequence288

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

FOLLOW_factor_in_sequence327

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

FOLLOW_function_in_comparable633

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

FOLLOW_item_in_member648

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

FOLLOW_member_in_comparable627

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

FOLLOW_notOp_in_term442

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

FOLLOW_orOp_in_factor400

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

FOLLOW_phrase_in_value932

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

FOLLOW_primitive_in_term436

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

FOLLOW_primitive_in_term444

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

FOLLOW_restriction_in_primitive470

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

FOLLOW_sep_in_arglist709

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

FOLLOW_sequence_in_expression211

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

FOLLOW_sequence_in_expression250

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

FOLLOW_term_in_factor368

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

FOLLOW_term_in_factor402

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

FOLLOW_text_in_function665

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

FOLLOW_text_in_value916

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

FOLLOW_value_in_item868

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

FOLLOW_value_in_item884

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

FOLLOW_value_in_item898

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

FUNCTION

public static final int FUNCTION
Field Value
Type Description
int

FUZZY

public static final int FUZZY
Field Value
Type Description
int

GE

public static final int GE
Field Value
Type Description
int

GLOBAL

public static final int GLOBAL
Field Value
Type Description
int

GT

public static final int GT
Field Value
Type Description
int

HAS

public static final int HAS
Field Value
Type Description
int

HEX_DIGIT

public static final int HEX_DIGIT
Field Value
Type Description
int

LE

public static final int LE
Field Value
Type Description
int

LESSTHAN

public static final int LESSTHAN
Field Value
Type Description
int

LITERAL

public static final int LITERAL
Field Value
Type Description
int

LPAREN

public static final int LPAREN
Field Value
Type Description
int

MID_CHAR

public static final int MID_CHAR
Field Value
Type Description
int

MINUS

public static final int MINUS
Field Value
Type Description
int

NE

public static final int NE
Field Value
Type Description
int

NEGATION

public static final int NEGATION
Field Value
Type Description
int

NOT

public static final int NOT
Field Value
Type Description
int

NUMBER_PREFIX

public static final int NUMBER_PREFIX
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

QUOTE

public static final int QUOTE
Field Value
Type Description
int

REWRITE

public static final int REWRITE
Field Value
Type Description
int

RPAREN

public static final int RPAREN
Field Value
Type Description
int

SEQUENCE

public static final int SEQUENCE
Field Value
Type Description
int

START_CHAR

public static final int START_CHAR
Field Value
Type Description
int

STRING

public static final int STRING
Field Value
Type Description
int

TEXT

public static final int TEXT
Field Value
Type Description
int

TEXT_ESC

public static final int TEXT_ESC
Field Value
Type Description
int

UNICODE_ESC

public static final int UNICODE_ESC
Field Value
Type Description
int

VALUE

public static final int VALUE
Field Value
Type Description
int

WS

public static final int WS
Field Value
Type Description
int

tokenNames

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

Constructors

QueryParser(TokenStream input)

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

QueryParser(TokenStream input, RecognizerSharedState state)

public QueryParser(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 QueryParser.DFA10 dfa10
Field Value
Type Description
QueryParser.DFA10

dfa11

protected QueryParser.DFA11 dfa11
Field Value
Type Description
QueryParser.DFA11

dfa14

protected QueryParser.DFA14 dfa14
Field Value
Type Description
QueryParser.DFA14

dfa4

protected QueryParser.DFA4 dfa4
Field Value
Type Description
QueryParser.DFA4

dfa5

protected QueryParser.DFA5 dfa5
Field Value
Type Description
QueryParser.DFA5

dfa6

protected QueryParser.DFA6 dfa6
Field Value
Type Description
QueryParser.DFA6

dfa8

protected QueryParser.DFA8 dfa8
Field Value
Type Description
QueryParser.DFA8

dfa9

protected QueryParser.DFA9 dfa9
Field Value
Type Description
QueryParser.DFA9

Methods

andOp()

public final QueryParser.andOp_return andOp()
Returns
Type Description
QueryParser.andOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

arg()

public final QueryParser.arg_return arg()
Returns
Type Description
QueryParser.arg_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

arglist()

public final QueryParser.arglist_return arglist()
Returns
Type Description
QueryParser.arglist_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

comparable()

public final QueryParser.comparable_return comparable()
Returns
Type Description
QueryParser.comparable_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

comparator()

public final QueryParser.comparator_return comparator()
Returns
Type Description
QueryParser.comparator_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

composite()

public final QueryParser.composite_return composite()
Returns
Type Description
QueryParser.composite_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

expression()

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

factor()

public final QueryParser.factor_return factor()
Returns
Type Description
QueryParser.factor_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

function()

public final QueryParser.function_return function()
Returns
Type Description
QueryParser.function_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

item()

public final QueryParser.item_return item()
Returns
Type Description
QueryParser.item_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

member()

public final QueryParser.member_return member()
Returns
Type Description
QueryParser.member_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

notOp()

public final QueryParser.notOp_return notOp()
Returns
Type Description
QueryParser.notOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

orOp()

public final QueryParser.orOp_return orOp()
Returns
Type Description
QueryParser.orOp_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

phrase()

public final QueryParser.phrase_return phrase()
Returns
Type Description
QueryParser.phrase_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

primitive()

public final QueryParser.primitive_return primitive()
Returns
Type Description
QueryParser.primitive_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

query()

public final QueryParser.query_return query()
Returns
Type Description
QueryParser.query_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

restriction()

public final QueryParser.restriction_return restriction()
Returns
Type Description
QueryParser.restriction_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

sep()

public final QueryParser.sep_return sep()
Returns
Type Description
QueryParser.sep_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

sequence()

public final QueryParser.sequence_return sequence()
Returns
Type Description
QueryParser.sequence_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

setTreeAdaptor(TreeAdaptor adaptor)

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

term()

public final QueryParser.term_return term()
Returns
Type Description
QueryParser.term_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

text()

public final QueryParser.text_return text()
Returns
Type Description
QueryParser.text_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException

value()

public final QueryParser.value_return value()
Returns
Type Description
QueryParser.value_return
Exceptions
Type Description
org.antlr.runtime.RecognitionException