Class InternalSimpleExpressionsParser
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Parser
-
- org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
-
- org.eclipse.xtext.xtext.generator.parser.antlr.splitting.parser.antlr.internal.InternalSimpleExpressionsParser
-
public class InternalSimpleExpressionsParser extends org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ErrorContext, org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.LexerErrorContext, org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ParserErrorContext, org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.UnorderedGroupErrorContext, org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ValueConverterErrorContext
-
-
Field Summary
Fields Modifier and Type Field Description static int
EOF
static org.antlr.runtime.BitSet
FOLLOW_1
static org.antlr.runtime.BitSet
FOLLOW_10
static org.antlr.runtime.BitSet
FOLLOW_11
static org.antlr.runtime.BitSet
FOLLOW_12
static org.antlr.runtime.BitSet
FOLLOW_13
static org.antlr.runtime.BitSet
FOLLOW_14
static org.antlr.runtime.BitSet
FOLLOW_15
static org.antlr.runtime.BitSet
FOLLOW_16
static org.antlr.runtime.BitSet
FOLLOW_2
static org.antlr.runtime.BitSet
FOLLOW_3
static org.antlr.runtime.BitSet
FOLLOW_4
static org.antlr.runtime.BitSet
FOLLOW_5
static org.antlr.runtime.BitSet
FOLLOW_6
static org.antlr.runtime.BitSet
FOLLOW_7
static org.antlr.runtime.BitSet
FOLLOW_8
static org.antlr.runtime.BitSet
FOLLOW_9
static int
RULE_ANY_OTHER
static int
RULE_ID
static int
RULE_INT
static int
RULE_ML_COMMENT
static int
RULE_SL_COMMENT
static int
RULE_STRING
static int
RULE_WS
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
static int
T__18
static int
T__19
static int
T__20
static int
T__21
static int
T__22
static int
T__23
static int
T__24
static int
T__25
static java.lang.String[]
tokenNames
-
Constructor Summary
Constructors Constructor Description InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input)
InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input, SimpleExpressionsGrammarAccess grammarAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EObject
entryRuleAndExpression()
java.lang.String
entryRuleArgument()
org.eclipse.emf.ecore.EObject
entryRuleAtom()
org.eclipse.emf.ecore.EObject
entryRuleBooleanLiteral()
org.eclipse.emf.ecore.EObject
entryRuleComparison()
org.eclipse.emf.ecore.EObject
entryRuleExpression()
java.lang.String
entryRuleFQN()
org.eclipse.emf.ecore.EObject
entryRuleIfCondition()
org.eclipse.emf.ecore.EObject
entryRuleMethodCall()
java.lang.String
entryRuleMethodCallLiteral()
org.eclipse.emf.ecore.EObject
entryRuleNumberLiteral()
org.eclipse.emf.ecore.EObject
entryRuleParenthesizedExpression()
org.eclipse.emf.ecore.EObject
entryRulePrefixExpression()
protected java.lang.String
getFirstRuleName()
protected SimpleExpressionsGrammarAccess
getGrammarAccess()
java.lang.String
getGrammarFileName()
java.lang.String[]
getTokenNames()
org.eclipse.emf.ecore.EObject
ruleAndExpression()
org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
ruleArgument()
org.eclipse.emf.ecore.EObject
ruleAtom()
org.eclipse.emf.ecore.EObject
ruleBooleanLiteral()
org.eclipse.emf.ecore.EObject
ruleComparison()
org.eclipse.emf.ecore.EObject
ruleExpression()
org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
ruleFQN()
org.eclipse.emf.ecore.EObject
ruleIfCondition()
org.eclipse.emf.ecore.EObject
ruleMethodCall()
org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
ruleMethodCallLiteral()
org.eclipse.emf.ecore.EObject
ruleNumberLiteral()
org.eclipse.emf.ecore.EObject
ruleParenthesizedExpression()
org.eclipse.emf.ecore.EObject
rulePrefixExpression()
-
Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
add, add, add, addWithLastConsumed, addWithLastConsumed, afterParserOrEnumRuleCall, appendAllTokens, appendError, appendSkippedTokens, appendTrailingHiddenTokens, associateNodeWithAstElement, createAllRules, createErrorContext, createModelElement, createModelElement, createModelElement, createModelElementForParent, createModelElementForParent, createValueConverterErrorContext, displayRecognitionError, emitErrorMessage, enterRule, forceCreateModelElement, forceCreateModelElementAndAdd, forceCreateModelElementAndSet, getCurrentNode, getErrorMessage, getInput, getLastLeafNode, getNodeModelBuilder, getSemanticModelBuilder, getSyntaxErrorMessage, getSyntaxErrorProvider, getUnorderedGroupHelper, getValueConverterExceptionMessage, handleValueConverterException, insertCompositeNode, leaveRule, newCompositeNode, newLeafNode, parse, parse, recover, recoverFromMismatchedToken, registerRules, reportError, set, set, set, setNodeModelBuilder, setSemanticModelBuilder, setSyntaxErrorProvider, setTokenTypeMap, setUnorderedGroupHelper, setWithLastConsumed, setWithLastConsumed, superGetErrorMessage, unpackEncodedStringArray
-
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, endResync, failed, getBacktrackingLevel, getErrorHeader, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recoverFromMismatchedSet, setBacktrackingLevel, toStrings, traceIn, traceOut
-
-
-
-
Field Detail
-
tokenNames
public static final java.lang.String[] tokenNames
-
RULE_ID
public static final int RULE_ID
- See Also:
- Constant Field Values
-
T__25
public static final int T__25
- See Also:
- Constant Field Values
-
T__24
public static final int T__24
- See Also:
- Constant Field Values
-
T__23
public static final int T__23
- See Also:
- Constant Field Values
-
T__22
public static final int T__22
- See Also:
- Constant Field Values
-
RULE_ANY_OTHER
public static final int RULE_ANY_OTHER
- See Also:
- Constant Field Values
-
T__21
public static final int T__21
- See Also:
- Constant Field Values
-
T__20
public static final int T__20
- See Also:
- Constant Field Values
-
RULE_SL_COMMENT
public static final int RULE_SL_COMMENT
- See Also:
- Constant Field Values
-
EOF
public static final int EOF
- See Also:
- Constant Field Values
-
RULE_ML_COMMENT
public static final int RULE_ML_COMMENT
- See Also:
- Constant Field Values
-
T__19
public static final int T__19
- See Also:
- Constant Field Values
-
RULE_STRING
public static final int RULE_STRING
- See Also:
- Constant Field Values
-
T__16
public static final int T__16
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
T__18
public static final int T__18
- See Also:
- Constant Field Values
-
T__17
public static final int T__17
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
RULE_INT
public static final int RULE_INT
- See Also:
- Constant Field Values
-
RULE_WS
public static final int RULE_WS
- See Also:
- Constant Field Values
-
FOLLOW_1
public static final org.antlr.runtime.BitSet FOLLOW_1
-
FOLLOW_2
public static final org.antlr.runtime.BitSet FOLLOW_2
-
FOLLOW_3
public static final org.antlr.runtime.BitSet FOLLOW_3
-
FOLLOW_4
public static final org.antlr.runtime.BitSet FOLLOW_4
-
FOLLOW_5
public static final org.antlr.runtime.BitSet FOLLOW_5
-
FOLLOW_6
public static final org.antlr.runtime.BitSet FOLLOW_6
-
FOLLOW_7
public static final org.antlr.runtime.BitSet FOLLOW_7
-
FOLLOW_8
public static final org.antlr.runtime.BitSet FOLLOW_8
-
FOLLOW_9
public static final org.antlr.runtime.BitSet FOLLOW_9
-
FOLLOW_10
public static final org.antlr.runtime.BitSet FOLLOW_10
-
FOLLOW_11
public static final org.antlr.runtime.BitSet FOLLOW_11
-
FOLLOW_12
public static final org.antlr.runtime.BitSet FOLLOW_12
-
FOLLOW_13
public static final org.antlr.runtime.BitSet FOLLOW_13
-
FOLLOW_14
public static final org.antlr.runtime.BitSet FOLLOW_14
-
FOLLOW_15
public static final org.antlr.runtime.BitSet FOLLOW_15
-
FOLLOW_16
public static final org.antlr.runtime.BitSet FOLLOW_16
-
-
Constructor Detail
-
InternalSimpleExpressionsParser
public InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input)
-
InternalSimpleExpressionsParser
public InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
-
InternalSimpleExpressionsParser
public InternalSimpleExpressionsParser(org.antlr.runtime.TokenStream input, SimpleExpressionsGrammarAccess grammarAccess)
-
-
Method Detail
-
getTokenNames
public java.lang.String[] getTokenNames()
- Overrides:
getTokenNames
in classorg.antlr.runtime.BaseRecognizer
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
getFirstRuleName
protected java.lang.String getFirstRuleName()
- Specified by:
getFirstRuleName
in classorg.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
-
getGrammarAccess
protected SimpleExpressionsGrammarAccess getGrammarAccess()
- Specified by:
getGrammarAccess
in classorg.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
-
entryRuleIfCondition
public final org.eclipse.emf.ecore.EObject entryRuleIfCondition() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleIfCondition
public final org.eclipse.emf.ecore.EObject ruleIfCondition() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleExpression
public final org.eclipse.emf.ecore.EObject entryRuleExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleExpression
public final org.eclipse.emf.ecore.EObject ruleExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleAndExpression
public final org.eclipse.emf.ecore.EObject entryRuleAndExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleAndExpression
public final org.eclipse.emf.ecore.EObject ruleAndExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleComparison
public final org.eclipse.emf.ecore.EObject entryRuleComparison() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleComparison
public final org.eclipse.emf.ecore.EObject ruleComparison() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRulePrefixExpression
public final org.eclipse.emf.ecore.EObject entryRulePrefixExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
rulePrefixExpression
public final org.eclipse.emf.ecore.EObject rulePrefixExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleAtom
public final org.eclipse.emf.ecore.EObject entryRuleAtom() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleAtom
public final org.eclipse.emf.ecore.EObject ruleAtom() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleNumberLiteral
public final org.eclipse.emf.ecore.EObject entryRuleNumberLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleNumberLiteral
public final org.eclipse.emf.ecore.EObject ruleNumberLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleBooleanLiteral
public final org.eclipse.emf.ecore.EObject entryRuleBooleanLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleBooleanLiteral
public final org.eclipse.emf.ecore.EObject ruleBooleanLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleParenthesizedExpression
public final org.eclipse.emf.ecore.EObject entryRuleParenthesizedExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleParenthesizedExpression
public final org.eclipse.emf.ecore.EObject ruleParenthesizedExpression() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleMethodCall
public final org.eclipse.emf.ecore.EObject entryRuleMethodCall() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleMethodCall
public final org.eclipse.emf.ecore.EObject ruleMethodCall() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleMethodCallLiteral
public final java.lang.String entryRuleMethodCallLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleMethodCallLiteral
public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleMethodCallLiteral() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleArgument
public final java.lang.String entryRuleArgument() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleArgument
public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleArgument() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
entryRuleFQN
public final java.lang.String entryRuleFQN() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
ruleFQN
public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleFQN() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
-