org.eclipse.xtext.ui.codetemplates.ui.highlighting
Class CodetemplatesHighlightingLexer

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Lexer
          extended by org.eclipse.xtext.parser.antlr.Lexer
              extended by org.eclipse.xtext.ui.codetemplates.ui.highlighting.CodetemplatesHighlightingLexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource

public class CodetemplatesHighlightingLexer
extends Lexer


Field Summary
protected  org.eclipse.xtext.ui.codetemplates.ui.highlighting.CodetemplatesHighlightingLexer.DFA7 dfa7
           
static int EOF
           
static int KEYWORD_CLOSINGBRACE
           
static int KEYWORD_DOT
           
static int KEYWORD_FOR
           
static int KEYWORD_OPENBRACE
           
static int KEYWORD_TEMPLATES
           
static int RULE_ANY_OTHER
           
static int RULE_BODY
           
static int RULE_ID
           
static int RULE_STRING
           
static int RULE_WS
           
 
Fields inherited from class org.antlr.runtime.Lexer
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
CodetemplatesHighlightingLexer()
           
CodetemplatesHighlightingLexer(org.antlr.runtime.CharStream input)
           
CodetemplatesHighlightingLexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
           
 
Method Summary
 java.lang.String getGrammarFileName()
          For debugging and other purposes, might want the grammar name.
 void mKEYWORD_CLOSINGBRACE()
           
 void mKEYWORD_DOT()
           
 void mKEYWORD_FOR()
           
 void mKEYWORD_OPENBRACE()
           
 void mKEYWORD_TEMPLATES()
           
 void mRULE_ANY_OTHER()
           
 void mRULE_BODY()
           
 void mRULE_ID()
           
 void mRULE_STRING()
           
 void mRULE_WS()
           
 void mTokens()
          This is the lexer entry point that sets instance var 'token'
 
Methods inherited from class org.eclipse.xtext.parser.antlr.Lexer
emitErrorMessage, getErrorMessage, nextToken
 
Methods inherited from class org.antlr.runtime.Lexer
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getMissingSymbol, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RULE_BODY

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

KEYWORD_CLOSINGBRACE

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

KEYWORD_OPENBRACE

public static final int KEYWORD_OPENBRACE
See Also:
Constant Field Values

KEYWORD_TEMPLATES

public static final int KEYWORD_TEMPLATES
See Also:
Constant Field Values

KEYWORD_FOR

public static final int KEYWORD_FOR
See Also:
Constant Field Values

RULE_ANY_OTHER

public static final int RULE_ANY_OTHER
See Also:
Constant Field Values

KEYWORD_DOT

public static final int KEYWORD_DOT
See Also:
Constant Field Values

dfa7

protected org.eclipse.xtext.ui.codetemplates.ui.highlighting.CodetemplatesHighlightingLexer.DFA7 dfa7
Constructor Detail

CodetemplatesHighlightingLexer

public CodetemplatesHighlightingLexer()

CodetemplatesHighlightingLexer

public CodetemplatesHighlightingLexer(org.antlr.runtime.CharStream input)

CodetemplatesHighlightingLexer

public CodetemplatesHighlightingLexer(org.antlr.runtime.CharStream input,
                                      org.antlr.runtime.RecognizerSharedState state)
Method Detail

getGrammarFileName

public java.lang.String getGrammarFileName()
Description copied from class: org.antlr.runtime.BaseRecognizer
For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.

Overrides:
getGrammarFileName in class org.antlr.runtime.BaseRecognizer

mKEYWORD_TEMPLATES

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

mKEYWORD_FOR

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

mKEYWORD_OPENBRACE

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

mKEYWORD_CLOSINGBRACE

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

mKEYWORD_DOT

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

mRULE_BODY

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

mRULE_ID

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

mRULE_STRING

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

mRULE_WS

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

mRULE_ANY_OTHER

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

mTokens

public void mTokens()
             throws org.antlr.runtime.RecognitionException
Description copied from class: org.antlr.runtime.Lexer
This is the lexer entry point that sets instance var 'token'

Specified by:
mTokens in class org.antlr.runtime.Lexer
Throws:
org.antlr.runtime.RecognitionException