Class InternalMwe2Parser

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
org.eclipse.emf.mwe2.language.parser.antlr.internal.InternalMwe2Parser

public class InternalMwe2Parser extends org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
Copyright (c) 2010, 2024 itemis AG (http://www.itemis.eu) and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0. SPDX-License-Identifier: EPL-2.0
  • 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 final int
     
    static final int
     
    static final int
     
    static final int
     
    protected org.eclipse.emf.mwe2.language.parser.antlr.internal.InternalMwe2Parser.DFA14
     
    protected org.eclipse.emf.mwe2.language.parser.antlr.internal.InternalMwe2Parser.DFA3
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final org.antlr.runtime.BitSet
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final String[]
     
    static final int
     
    static final int
     

    Fields inherited from class org.antlr.runtime.Parser

    input

    Fields inherited from class org.antlr.runtime.BaseRecognizer

    DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
  • Constructor Summary

    Constructors
    Constructor
    Description
    InternalMwe2Parser(org.antlr.runtime.TokenStream input)
     
    InternalMwe2Parser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
     
    InternalMwe2Parser(org.antlr.runtime.TokenStream input, Mwe2GrammarAccess grammarAccess)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final String
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final String
     
    final String
     
    final org.eclipse.emf.ecore.EObject
     
    final String
     
    final org.eclipse.emf.ecore.EObject
     
    final String
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    protected String
     
     
     
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
     
    final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     
    final org.eclipse.emf.ecore.EObject
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tokenNames

      public static final String[] tokenNames
    • Null

      public static final int Null
      See Also:
    • Import

      public static final int Import
      See Also:
    • DollarSignLeftCurlyBracket

      public static final int DollarSignLeftCurlyBracket
      See Also:
    • ReverseSolidusReverseSolidus

      public static final int ReverseSolidusReverseSolidus
      See Also:
    • Var

      public static final int Var
      See Also:
    • True

      public static final int True
      See Also:
    • ReverseSolidusApostrophe

      public static final int ReverseSolidusApostrophe
      See Also:
    • False

      public static final int False
      See Also:
    • QuotationMark

      public static final int QuotationMark
      See Also:
    • RULE_SL_COMMENT

      public static final int RULE_SL_COMMENT
      See Also:
    • EqualsSign

      public static final int EqualsSign
      See Also:
    • HyphenMinus

      public static final int HyphenMinus
      See Also:
    • AutoInject

      public static final int AutoInject
      See Also:
    • Colon

      public static final int Colon
      See Also:
    • RightCurlyBracket

      public static final int RightCurlyBracket
      See Also:
    • EOF

      public static final int EOF
      See Also:
    • Apostrophe

      public static final int Apostrophe
      See Also:
    • FullStop

      public static final int FullStop
      See Also:
    • RULE_ID

      public static final int RULE_ID
      See Also:
    • RULE_WS

      public static final int RULE_WS
      See Also:
    • LeftCurlyBracket

      public static final int LeftCurlyBracket
      See Also:
    • RULE_ANY_OTHER

      public static final int RULE_ANY_OTHER
      See Also:
    • CommercialAt

      public static final int CommercialAt
      See Also:
    • ReverseSolidusQuotationMark

      public static final int ReverseSolidusQuotationMark
      See Also:
    • PlusSign

      public static final int PlusSign
      See Also:
    • RULE_INT

      public static final int RULE_INT
      See Also:
    • FullStopAsterisk

      public static final int FullStopAsterisk
      See Also:
    • RULE_ML_COMMENT

      public static final int RULE_ML_COMMENT
      See Also:
    • ReverseSolidusDollarSignLeftCurlyBracket

      public static final int ReverseSolidusDollarSignLeftCurlyBracket
      See Also:
    • Module

      public static final int Module
      See Also:
    • dfa3

      protected org.eclipse.emf.mwe2.language.parser.antlr.internal.InternalMwe2Parser.DFA3 dfa3
    • dfa14

      protected org.eclipse.emf.mwe2.language.parser.antlr.internal.InternalMwe2Parser.DFA14 dfa14
    • 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
    • FOLLOW_17

      public static final org.antlr.runtime.BitSet FOLLOW_17
    • FOLLOW_18

      public static final org.antlr.runtime.BitSet FOLLOW_18
    • FOLLOW_19

      public static final org.antlr.runtime.BitSet FOLLOW_19
    • FOLLOW_20

      public static final org.antlr.runtime.BitSet FOLLOW_20
    • FOLLOW_21

      public static final org.antlr.runtime.BitSet FOLLOW_21
  • Constructor Details

    • InternalMwe2Parser

      public InternalMwe2Parser(org.antlr.runtime.TokenStream input)
    • InternalMwe2Parser

      public InternalMwe2Parser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
    • InternalMwe2Parser

      public InternalMwe2Parser(org.antlr.runtime.TokenStream input, Mwe2GrammarAccess grammarAccess)
  • Method Details

    • getTokenNames

      public String[] getTokenNames()
      Overrides:
      getTokenNames in class org.antlr.runtime.BaseRecognizer
    • getGrammarFileName

      public String getGrammarFileName()
      Overrides:
      getGrammarFileName in class org.antlr.runtime.BaseRecognizer
    • getFirstRuleName

      protected String getFirstRuleName()
      Specified by:
      getFirstRuleName in class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
    • getGrammarAccess

      protected Mwe2GrammarAccess getGrammarAccess()
      Specified by:
      getGrammarAccess in class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser
    • entryRuleModule

      public final org.eclipse.emf.ecore.EObject entryRuleModule() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleModule

      public final org.eclipse.emf.ecore.EObject ruleModule() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleDeclaredProperty

      public final org.eclipse.emf.ecore.EObject entryRuleDeclaredProperty() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleDeclaredProperty

      public final org.eclipse.emf.ecore.EObject ruleDeclaredProperty() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleRootComponent

      public final org.eclipse.emf.ecore.EObject entryRuleRootComponent() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleRootComponent

      public final org.eclipse.emf.ecore.EObject ruleRootComponent() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleComponent

      public final org.eclipse.emf.ecore.EObject entryRuleComponent() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleComponent

      public final org.eclipse.emf.ecore.EObject ruleComponent() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleImport

      public final org.eclipse.emf.ecore.EObject entryRuleImport() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleImport

      public final org.eclipse.emf.ecore.EObject ruleImport() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleImportedFQN

      public final String entryRuleImportedFQN() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleImportedFQN

      public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleImportedFQN() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleAssignment

      public final org.eclipse.emf.ecore.EObject entryRuleAssignment() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleAssignment

      public final org.eclipse.emf.ecore.EObject ruleAssignment() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleValue

      public final org.eclipse.emf.ecore.EObject entryRuleValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleValue

      public final org.eclipse.emf.ecore.EObject ruleValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleNullLiteral

      public final org.eclipse.emf.ecore.EObject entryRuleNullLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleNullLiteral

      public final org.eclipse.emf.ecore.EObject ruleNullLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleDoubleLiteral

      public final org.eclipse.emf.ecore.EObject entryRuleDoubleLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleDoubleLiteral

      public final org.eclipse.emf.ecore.EObject ruleDoubleLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleDoubleValue

      public final String entryRuleDoubleValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleDoubleValue

      public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleDoubleValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleIntegerLiteral

      public final org.eclipse.emf.ecore.EObject entryRuleIntegerLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleIntegerLiteral

      public final org.eclipse.emf.ecore.EObject ruleIntegerLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleIntValue

      public final String entryRuleIntValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleIntValue

      public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleIntValue() 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
    • entryRuleReference

      public final org.eclipse.emf.ecore.EObject entryRuleReference() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleReference

      public final org.eclipse.emf.ecore.EObject ruleReference() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleFQN

      public final 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
    • entryRuleStringLiteral

      public final org.eclipse.emf.ecore.EObject entryRuleStringLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleStringLiteral

      public final org.eclipse.emf.ecore.EObject ruleStringLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRulePropertyReference

      public final org.eclipse.emf.ecore.EObject entryRulePropertyReference() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • rulePropertyReference

      public final org.eclipse.emf.ecore.EObject rulePropertyReference() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRulePropertyReferenceImpl

      public final org.eclipse.emf.ecore.EObject entryRulePropertyReferenceImpl() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • rulePropertyReferenceImpl

      public final org.eclipse.emf.ecore.EObject rulePropertyReferenceImpl() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRulePlainString

      public final org.eclipse.emf.ecore.EObject entryRulePlainString() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • rulePlainString

      public final org.eclipse.emf.ecore.EObject rulePlainString() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • entryRuleConstantValue

      public final String entryRuleConstantValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • ruleConstantValue

      public final org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken ruleConstantValue() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException