Class shaperGrammarLexer

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Lexer
shaperCompiler.shaperGrammarLexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource

public class shaperGrammarLexer
extends org.antlr.runtime.Lexer
The Class shaperGrammarLexer.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int CB
    The Constant CB.
    static int CIRCLE
    The Constant CIRCLE.
    static int CIRCLE_C
    The Constant CIRCLE_C.
    static int CIRCLE_R
    The Constant CIRCLE_R.
    static int COMMENT
    The Constant COMMENT.
    static int CONFIG
    The Constant CONFIG.
    static int DIGIT
    The Constant DIGIT.
    static int EOF
    The Constant EOF.
    static int JOB_SPEED
    The Constant JOB_SPEED.
    static int LUBE_SET
    The Constant LUBE_SET.
    static int MOVE_SPEED
    The Constant MOVE_SPEED.
    static int OB
    The Constant OB.
    static int ON_OFF
    The Constant ON_OFF.
    static int P1
    The Constant P1.
    static int P2
    The Constant P2.
    static int P3
    The Constant P3.
    static int RECTANGLE
    The Constant RECTANGLE.
    static int RECTANGLE_B
    The Constant RECTANGLE_B.
    static int RECTANGLE_H
    The Constant RECTANGLE_H.
    static int RECTANGLE_P
    The Constant RECTANGLE_P.
    static int SCAN_ERROR
    The Constant SCAN_ERROR.
    static int SQUARE
    The Constant SQUARE.
    static int SQUARE_CONFIG
    The Constant SQUARE_CONFIG.
    static int SQUARE_L
    The Constant SQUARE_L.
    static int TRIANGLE
    The Constant TRIANGLE.
    static int WS
    The Constant WS.
    static int X_CORD
    The Constant X_CORD.
    static int Y_CORD
    The Constant Y_CORD.

    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
    shaperGrammarLexer()
    Instantiates a new shaper grammar lexer.
    shaperGrammarLexer​(org.antlr.runtime.CharStream input)
    Instantiates a new shaper grammar lexer.
    shaperGrammarLexer​(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
    Instantiates a new shaper grammar lexer.
  • Method Summary

    Modifier and Type Method Description
    org.antlr.runtime.Lexer[] getDelegates()
    Gets the delegates.
    java.lang.String getGrammarFileName()
    Gets the grammar file name.
    void mCB()
    M CB.
    void mCIRCLE()
    M CIRCLE.
    void mCIRCLE_C()
    M CIRCL E C.
    void mCIRCLE_R()
    M CIRCL E R.
    void mCOMMENT()
    M COMMENT.
    void mCONFIG()
    M CONFIG.
    void mDIGIT()
    M DIGIT.
    void mJOB_SPEED()
    M JO B SPEED.
    void mLUBE_SET()
    M LUB E SET.
    void mMOVE_SPEED()
    M MOV E SPEED.
    void mOB()
    M OB.
    void mON_OFF()
    M O N OFF.
    void mP1()
    M P 1.
    void mP2()
    M P 2.
    void mP3()
    M P 3.
    void mRECTANGLE()
    M RECTANGLE.
    void mRECTANGLE_B()
    M RECTANGL E B.
    void mRECTANGLE_H()
    M RECTANGL E H.
    void mRECTANGLE_P()
    M RECTANGL E P.
    void mSCAN_ERROR()
    M SCA N ERROR.
    void mSQUARE()
    M SQUARE.
    void mSQUARE_CONFIG()
    M SQUAR E CONFIG.
    void mSQUARE_L()
    M SQUAR E L.
    void mTokens()
    M tokens.
    void mTRIANGLE()
    M TRIANGLE.
    void mWS()
    M WS.
    void mX_CORD()
    M X CORD.
    void mY_CORD()
    M Y CORD.

    Methods inherited from class org.antlr.runtime.Lexer

    emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getErrorMessage, 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, emitErrorMessage, 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

    • shaperGrammarLexer

      public shaperGrammarLexer()
      Instantiates a new shaper grammar lexer.
    • shaperGrammarLexer

      public shaperGrammarLexer​(org.antlr.runtime.CharStream input)
      Instantiates a new shaper grammar lexer.
      Parameters:
      input - the input
    • shaperGrammarLexer

      public shaperGrammarLexer​(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
      Instantiates a new shaper grammar lexer.
      Parameters:
      input - the input
      state - the state
  • Method Details

    • getDelegates

      public org.antlr.runtime.Lexer[] getDelegates()
      Gets the delegates.
      Returns:
      the delegates
    • getGrammarFileName

      public java.lang.String getGrammarFileName()
      Gets the grammar file name.
      Overrides:
      getGrammarFileName in class org.antlr.runtime.BaseRecognizer
      Returns:
      the grammar file name
    • mCIRCLE

      public final void mCIRCLE() throws org.antlr.runtime.RecognitionException
      M CIRCLE.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mSQUARE

      public final void mSQUARE() throws org.antlr.runtime.RecognitionException
      M SQUARE.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mRECTANGLE

      public final void mRECTANGLE() throws org.antlr.runtime.RecognitionException
      M RECTANGLE.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mTRIANGLE

      public final void mTRIANGLE() throws org.antlr.runtime.RecognitionException
      M TRIANGLE.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mCIRCLE_C

      public final void mCIRCLE_C() throws org.antlr.runtime.RecognitionException
      M CIRCL E C.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mCIRCLE_R

      public final void mCIRCLE_R() throws org.antlr.runtime.RecognitionException
      M CIRCL E R.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mSQUARE_L

      public final void mSQUARE_L() throws org.antlr.runtime.RecognitionException
      M SQUAR E L.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mRECTANGLE_P

      public final void mRECTANGLE_P() throws org.antlr.runtime.RecognitionException
      M RECTANGL E P.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mRECTANGLE_B

      public final void mRECTANGLE_B() throws org.antlr.runtime.RecognitionException
      M RECTANGL E B.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mRECTANGLE_H

      public final void mRECTANGLE_H() throws org.antlr.runtime.RecognitionException
      M RECTANGL E H.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mP1

      public final void mP1() throws org.antlr.runtime.RecognitionException
      M P 1.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mP2

      public final void mP2() throws org.antlr.runtime.RecognitionException
      M P 2.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mP3

      public final void mP3() throws org.antlr.runtime.RecognitionException
      M P 3.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mSQUARE_CONFIG

      public final void mSQUARE_CONFIG() throws org.antlr.runtime.RecognitionException
      M SQUAR E CONFIG.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mX_CORD

      public final void mX_CORD() throws org.antlr.runtime.RecognitionException
      M X CORD.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mY_CORD

      public final void mY_CORD() throws org.antlr.runtime.RecognitionException
      M Y CORD.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mCONFIG

      public final void mCONFIG() throws org.antlr.runtime.RecognitionException
      M CONFIG.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mMOVE_SPEED

      public final void mMOVE_SPEED() throws org.antlr.runtime.RecognitionException
      M MOV E SPEED.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mJOB_SPEED

      public final void mJOB_SPEED() throws org.antlr.runtime.RecognitionException
      M JO B SPEED.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mLUBE_SET

      public final void mLUBE_SET() throws org.antlr.runtime.RecognitionException
      M LUB E SET.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mON_OFF

      public final void mON_OFF() throws org.antlr.runtime.RecognitionException
      M O N OFF.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mOB

      public final void mOB() throws org.antlr.runtime.RecognitionException
      M OB.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mCB

      public final void mCB() throws org.antlr.runtime.RecognitionException
      M CB.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mDIGIT

      public final void mDIGIT() throws org.antlr.runtime.RecognitionException
      M DIGIT.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mCOMMENT

      public final void mCOMMENT() throws org.antlr.runtime.RecognitionException
      M COMMENT.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mWS

      public final void mWS() throws org.antlr.runtime.RecognitionException
      M WS.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mSCAN_ERROR

      public final void mSCAN_ERROR() throws org.antlr.runtime.RecognitionException
      M SCA N ERROR.
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception
    • mTokens

      public void mTokens() throws org.antlr.runtime.RecognitionException
      M tokens.
      Specified by:
      mTokens in class org.antlr.runtime.Lexer
      Throws:
      org.antlr.runtime.RecognitionException - the recognition exception