Module omix.api

Class MathExpressionsLexer

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Lexer
omix.mathxp.parser.MathExpressionsLexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource

public class MathExpressionsLexer
extends org.antlr.runtime.Lexer
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  MathExpressionsLexer.ErrorMessage  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int AMP  
    static int BANG  
    static int BANGEQ  
    static int BAR  
    static int CARET  
    protected omix.mathxp.parser.MathExpressionsLexer.DFA10 dfa10  
    protected omix.mathxp.parser.MathExpressionsLexer.DFA16 dfa16  
    static int DOT  
    static int EOF  
    static int EQ  
    static int ESC_SEQ  
    static int EXPONENT  
    static int FLOAT  
    static int GT  
    static int GTEQ  
    static int HEX_DIGIT  
    static int ID  
    static int INT  
    static int KOMMA  
    static int LBRACKET  
    static int LPAREN  
    static int LT  
    static int LTEQ  
    static int MICRO  
    static int OCTAL_ESC  
    static int OHM  
    static int PLUS  
    static int QUESTION  
    static int RBRACKET  
    static int RPAREN  
    static int SEMI  
    static int SHARP  
    static int SLASH  
    static int STAR  
    static int STRING  
    static int SUB  
    static int TILDE  
    static int UNICODE_ESC  
    static int 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

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

    Modifier and Type Method Description
    void emitErrorMessage​(String msg)  
    org.antlr.runtime.Lexer[] getDelegates()  
    String getErrorMessage​(org.antlr.runtime.RecognitionException e, String[] tokenNames)  
    ArrayList<MathExpressionsLexer.ErrorMessage> getErrors()  
    String getGrammarFileName()  
    void mAMP()  
    void mBANG()  
    void mBANGEQ()  
    void mBAR()  
    void mCARET()  
    void mDOT()  
    void mEQ()  
    void mESC_SEQ()  
    void mEXPONENT()  
    void mFLOAT()  
    void mGT()  
    void mGTEQ()  
    void mHEX_DIGIT()  
    void mID()  
    void mINT()  
    void mKOMMA()  
    void mLBRACKET()  
    void mLPAREN()  
    void mLT()  
    void mLTEQ()  
    void mMICRO()  
    void mOCTAL_ESC()  
    void mOHM()  
    void mPLUS()  
    void mQUESTION()  
    void mRBRACKET()  
    void mRPAREN()  
    void mSEMI()  
    void mSHARP()  
    void mSLASH()  
    void mSTAR()  
    void mSTRING()  
    void mSUB()  
    void mTILDE()  
    void mTokens()  
    void mUNICODE_ESC()  
    void mWS()  

    Methods inherited from class org.antlr.runtime.Lexer

    emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getLine, getSourceName, getText, match, match, matchAny, matchRange, nextToken, 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 Details

  • Constructor Details

  • Method Details

    • emitErrorMessage

      public void emitErrorMessage​(String msg)
      Overrides:
      emitErrorMessage in class org.antlr.runtime.BaseRecognizer
    • getErrorMessage

      public String getErrorMessage​(org.antlr.runtime.RecognitionException e, String[] tokenNames)
      Overrides:
      getErrorMessage in class org.antlr.runtime.Lexer
    • getErrors

    • getDelegates

      public org.antlr.runtime.Lexer[] getDelegates()
    • getGrammarFileName

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

      public final void mMICRO() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mOHM

      public final void mOHM() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mID

      public final void mID() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mINT

      public final void mINT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mFLOAT

      public final void mFLOAT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mEXPONENT

      public final void mEXPONENT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mDOT

      public final void mDOT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mLPAREN

      public final void mLPAREN() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mRPAREN

      public final void mRPAREN() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mLBRACKET

      public final void mLBRACKET() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mRBRACKET

      public final void mRBRACKET() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mEQ

      public final void mEQ() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mBANG

      public final void mBANG() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mTILDE

      public final void mTILDE() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSHARP

      public final void mSHARP() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mPLUS

      public final void mPLUS() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSUB

      public final void mSUB() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSTAR

      public final void mSTAR() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSLASH

      public final void mSLASH() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mAMP

      public final void mAMP() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mBAR

      public final void mBAR() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mCARET

      public final void mCARET() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mBANGEQ

      public final void mBANGEQ() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mGT

      public final void mGT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mGTEQ

      public final void mGTEQ() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mLTEQ

      public final void mLTEQ() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mLT

      public final void mLT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSEMI

      public final void mSEMI() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mKOMMA

      public final void mKOMMA() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mQUESTION

      public final void mQUESTION() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mSTRING

      public final void mSTRING() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mESC_SEQ

      public final void mESC_SEQ() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mOCTAL_ESC

      public final void mOCTAL_ESC() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mUNICODE_ESC

      public final void mUNICODE_ESC() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mHEX_DIGIT

      public final void mHEX_DIGIT() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mWS

      public final void mWS() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • mTokens

      public void mTokens() throws org.antlr.runtime.RecognitionException
      Specified by:
      mTokens in class org.antlr.runtime.Lexer
      Throws:
      org.antlr.runtime.RecognitionException