Class Lexer

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Lexer
org.eclipse.epsilon.common.parse.Lexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource
Direct Known Subclasses:
EclLexer, EgxLexer, EmlLexer, EolLexer, EplLexer, ErlLexer, EtlLexer, EvlLexer, EwlLexer, FlockLexer, HutnLexer, PinsetLexer

public abstract class Lexer extends org.antlr.runtime.Lexer
  • Field Summary

    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

    Constructors
    Constructor
    Description
     
    Lexer(org.antlr.runtime.CharStream input)
     
    Lexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
     
     
    void
    reportException(int line, int column, String reason)
     

    Methods inherited from class org.antlr.runtime.Lexer

    emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, mTokens, nextToken, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut

    Methods inherited from class org.antlr.runtime.BaseRecognizer

    alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getGrammarFileName, 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
  • Constructor Details

    • Lexer

      public Lexer()
    • Lexer

      public Lexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
    • Lexer

      public Lexer(org.antlr.runtime.CharStream input)
  • Method Details

    • displayRecognitionError

      public void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
      Overrides:
      displayRecognitionError in class org.antlr.runtime.BaseRecognizer
    • reportException

      public void reportException(int line, int column, String reason)
    • getParseProblems

      public List<ParseProblem> getParseProblems()