Package org.eclipse.lyo.core.query
Class OslcSearchTermsParser
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Parser
-
- org.eclipse.lyo.core.query.OslcSearchTermsParser
-
public class OslcSearchTermsParser extends org.antlr.runtime.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OslcSearchTermsParser.oslc_search_terms_return
static class
OslcSearchTermsParser.string_esc_return
-
Field Summary
Fields Modifier and Type Field Description protected org.antlr.runtime.tree.TreeAdaptor
adaptor
static int
COMMA
static int
ECHAR
static int
EOF
static int
EOL
static org.antlr.runtime.BitSet
FOLLOW_COMMA_in_oslc_search_terms71
static org.antlr.runtime.BitSet
FOLLOW_string_esc_in_oslc_search_terms67
static org.antlr.runtime.BitSet
FOLLOW_string_esc_in_oslc_search_terms73
static org.antlr.runtime.BitSet
FOLLOW_STRING_LITERAL_in_string_esc104
static int
STRING_LIST
static int
STRING_LITERAL
static String[]
tokenNames
static int
WS
-
Constructor Summary
Constructors Constructor Description OslcSearchTermsParser(String searchTerms)
OslcSearchTermsParser(org.antlr.runtime.TokenStream input)
OslcSearchTermsParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
org.antlr.runtime.Parser[]
getDelegates()
List<String>
getErrors()
String
getGrammarFileName()
String[]
getTokenNames()
org.antlr.runtime.tree.TreeAdaptor
getTreeAdaptor()
OslcSearchTermsParser.oslc_search_terms_return
oslc_search_terms()
void
setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
OslcSearchTermsParser.string_esc_return
string_esc()
-
Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
-
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
-
-
-
-
Field Detail
-
tokenNames
public static final String[] tokenNames
-
EOF
public static final int EOF
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
ECHAR
public static final int ECHAR
- See Also:
- Constant Field Values
-
EOL
public static final int EOL
- See Also:
- Constant Field Values
-
STRING_LIST
public static final int STRING_LIST
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
adaptor
protected org.antlr.runtime.tree.TreeAdaptor adaptor
-
FOLLOW_string_esc_in_oslc_search_terms67
public static final org.antlr.runtime.BitSet FOLLOW_string_esc_in_oslc_search_terms67
-
FOLLOW_COMMA_in_oslc_search_terms71
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_oslc_search_terms71
-
FOLLOW_string_esc_in_oslc_search_terms73
public static final org.antlr.runtime.BitSet FOLLOW_string_esc_in_oslc_search_terms73
-
FOLLOW_STRING_LITERAL_in_string_esc104
public static final org.antlr.runtime.BitSet FOLLOW_STRING_LITERAL_in_string_esc104
-
-
Constructor Detail
-
OslcSearchTermsParser
public OslcSearchTermsParser(org.antlr.runtime.TokenStream input)
-
OslcSearchTermsParser
public OslcSearchTermsParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
-
OslcSearchTermsParser
public OslcSearchTermsParser(String searchTerms)
-
-
Method Detail
-
getDelegates
public org.antlr.runtime.Parser[] getDelegates()
-
setTreeAdaptor
public void setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
-
getTreeAdaptor
public org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor()
-
getTokenNames
public String[] getTokenNames()
- Overrides:
getTokenNames
in classorg.antlr.runtime.BaseRecognizer
-
getGrammarFileName
public String getGrammarFileName()
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
displayRecognitionError
public void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
- Overrides:
displayRecognitionError
in classorg.antlr.runtime.BaseRecognizer
-
oslc_search_terms
public final OslcSearchTermsParser.oslc_search_terms_return oslc_search_terms() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
string_esc
public final OslcSearchTermsParser.string_esc_return string_esc() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
-