de.cau.cs.kieler.core.annotations.ui.contentassist.antlr.internal
Class InternalAnnotationsParser

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Parser
          extended by org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser
              extended by de.cau.cs.kieler.core.annotations.ui.contentassist.antlr.internal.InternalAnnotationsParser
All Implemented Interfaces:
org.eclipse.xtext.parser.antlr.ITokenDefProvider, org.eclipse.xtext.ui.editor.contentassist.antlr.ObservableXtextTokenStream.StreamListener

public class InternalAnnotationsParser
extends org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser
org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.DefaultFollowElementFactory, org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.RecoveryListener, org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.StreamAdapter
 
Field Summary
static int EOF
           
static int RULE_ANY_OTHER
           
static int RULE_COMMENT_ANNOTATION
           
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 String[] tokenNames
           
 
Fields inherited from class org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser
currentMarker, delegate, firstMarker, followElementFactory, followElements, grammarElements, indexToHandledElements, localTrace, lookAheadAddOn, marked, mismatch, predictionLevel, recoveryListener, resyncing, stackSize, terminalRules, unorderedGroupHelper
 
Fields inherited from class org.antlr.runtime.Parser
input
 
Fields inherited from class org.antlr.runtime.BaseRecognizer
_fsp, backtracking, DEFAULT_TOKEN_CHANNEL, errorRecovery, failed, following, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, lastErrorIndex, MEMO_RULE_FAILED, MEMO_RULE_FAILED_I, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, ruleMemo
 
Constructor Summary
InternalAnnotationsParser(org.antlr.runtime.TokenStream input)
           
 
Method Summary
 void entryRuleCommentAnnotation()
           
 void entryRuleEString()
           
 void entryRuleKeyValueAnnotation()
           
 void entryRuleStringAnnotation()
           
protected  org.eclipse.xtext.Grammar getGrammar()
           
 String getGrammarFileName()
           
 String[] getTokenNames()
           
protected  String getValueForTokenName(String tokenName)
           
 void rule__CommentAnnotation__ValueAssignment()
           
 void rule__EString__Alternatives()
           
 void rule__KeyValueAnnotation__Group__0__Impl()
           
 void rule__KeyValueAnnotation__Group__0()
           
 void rule__KeyValueAnnotation__Group__1__Impl()
           
 void rule__KeyValueAnnotation__Group__1()
           
 void rule__KeyValueAnnotation__Group__2__Impl()
           
 void rule__KeyValueAnnotation__Group__2()
           
 void rule__KeyValueAnnotation__NameAssignment_1()
           
 void rule__KeyValueAnnotation__ValueAssignment_2()
           
 void rule__StringAnnotation__Alternatives()
           
 void ruleCommentAnnotation()
           
 void ruleEString()
           
 void ruleKeyValueAnnotation()
           
 void ruleStringAnnotation()
           
 void setGrammarAccess(AnnotationsGrammarAccess grammarAccess)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser
after, announceConsume, announceEof, announceMark, announceRewind, before, beginDFAPrediction, beginResync, createErrorRecoveryStrategy, createFollowElement, createLookAheadTerminal, createMismatchStrategy, createNotErrorRecoveryStrategy, createPredictionStrategy, emitErrorMessage, endDFAPrediction, endResync, getCurrentGrammarElement, getFollowElements, getGrammarElements, getLocalTrace, getRecoveryListener, getTokenDefMap, getUnorderedGroupHelper, keepStackSize, mismatch, recover, recoverFromMismatchedToken, restoreStackSize, selectEofStrategy, setRecoveryListener, setUnorderedGroupHelper
 
Methods inherited from class org.antlr.runtime.Parser
getTokenStream, reset, setTokenStream, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, getBacktrackingLevel, getErrorHeader, getErrorMessage, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, pushFollow, recoverFromMismatchedElement, recoverFromMismatchedSet, reportError, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokenNames

public static final String[] tokenNames

RULE_ML_COMMENT

public static final int RULE_ML_COMMENT
See Also:
Constant Field Values

RULE_ID

public static final int RULE_ID
See Also:
Constant Field Values

RULE_WS

public static final int RULE_WS
See Also:
Constant Field Values

RULE_INT

public static final int RULE_INT
See Also:
Constant Field Values

EOF

public static final int EOF
See Also:
Constant Field Values

RULE_STRING

public static final int RULE_STRING
See Also:
Constant Field Values

RULE_COMMENT_ANNOTATION

public static final int RULE_COMMENT_ANNOTATION
See Also:
Constant Field Values

RULE_ANY_OTHER

public static final int RULE_ANY_OTHER
See Also:
Constant Field Values

RULE_SL_COMMENT

public static final int RULE_SL_COMMENT
See Also:
Constant Field Values
Constructor Detail

InternalAnnotationsParser

public InternalAnnotationsParser(org.antlr.runtime.TokenStream input)
Method Detail

getTokenNames

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

getGrammarFileName

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

setGrammarAccess

public void setGrammarAccess(AnnotationsGrammarAccess grammarAccess)

getGrammar

protected org.eclipse.xtext.Grammar getGrammar()
Specified by:
getGrammar in class org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser

getValueForTokenName

protected String getValueForTokenName(String tokenName)
Overrides:
getValueForTokenName in class org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser

entryRuleStringAnnotation

public final void entryRuleStringAnnotation()
                                     throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ruleStringAnnotation

public final void ruleStringAnnotation()
                                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

entryRuleCommentAnnotation

public final void entryRuleCommentAnnotation()
                                      throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ruleCommentAnnotation

public final void ruleCommentAnnotation()
                                 throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

entryRuleKeyValueAnnotation

public final void entryRuleKeyValueAnnotation()
                                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ruleKeyValueAnnotation

public final void ruleKeyValueAnnotation()
                                  throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

entryRuleEString

public final void entryRuleEString()
                            throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ruleEString

public final void ruleEString()
                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__StringAnnotation__Alternatives

public final void rule__StringAnnotation__Alternatives()
                                                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__EString__Alternatives

public final void rule__EString__Alternatives()
                                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__0

public final void rule__KeyValueAnnotation__Group__0()
                                              throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__0__Impl

public final void rule__KeyValueAnnotation__Group__0__Impl()
                                                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__1

public final void rule__KeyValueAnnotation__Group__1()
                                              throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__1__Impl

public final void rule__KeyValueAnnotation__Group__1__Impl()
                                                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__2

public final void rule__KeyValueAnnotation__Group__2()
                                              throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__Group__2__Impl

public final void rule__KeyValueAnnotation__Group__2__Impl()
                                                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__CommentAnnotation__ValueAssignment

public final void rule__CommentAnnotation__ValueAssignment()
                                                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__NameAssignment_1

public final void rule__KeyValueAnnotation__NameAssignment_1()
                                                      throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

rule__KeyValueAnnotation__ValueAssignment_2

public final void rule__KeyValueAnnotation__ValueAssignment_2()
                                                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException