Package shaperCompiler
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. -
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
-
Field Details
-
EOF
public static final int EOFThe Constant EOF.- See Also:
- Constant Field Values
-
CB
public static final int CBThe Constant CB.- See Also:
- Constant Field Values
-
CIRCLE
public static final int CIRCLEThe Constant CIRCLE.- See Also:
- Constant Field Values
-
CIRCLE_C
public static final int CIRCLE_CThe Constant CIRCLE_C.- See Also:
- Constant Field Values
-
CIRCLE_R
public static final int CIRCLE_RThe Constant CIRCLE_R.- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENTThe Constant COMMENT.- See Also:
- Constant Field Values
-
CONFIG
public static final int CONFIGThe Constant CONFIG.- See Also:
- Constant Field Values
-
DIGIT
public static final int DIGITThe Constant DIGIT.- See Also:
- Constant Field Values
-
JOB_SPEED
public static final int JOB_SPEEDThe Constant JOB_SPEED.- See Also:
- Constant Field Values
-
LUBE_SET
public static final int LUBE_SETThe Constant LUBE_SET.- See Also:
- Constant Field Values
-
MOVE_SPEED
public static final int MOVE_SPEEDThe Constant MOVE_SPEED.- See Also:
- Constant Field Values
-
OB
public static final int OBThe Constant OB.- See Also:
- Constant Field Values
-
ON_OFF
public static final int ON_OFFThe Constant ON_OFF.- See Also:
- Constant Field Values
-
P1
public static final int P1The Constant P1.- See Also:
- Constant Field Values
-
P2
public static final int P2The Constant P2.- See Also:
- Constant Field Values
-
P3
public static final int P3The Constant P3.- See Also:
- Constant Field Values
-
RECTANGLE
public static final int RECTANGLEThe Constant RECTANGLE.- See Also:
- Constant Field Values
-
RECTANGLE_B
public static final int RECTANGLE_BThe Constant RECTANGLE_B.- See Also:
- Constant Field Values
-
RECTANGLE_H
public static final int RECTANGLE_HThe Constant RECTANGLE_H.- See Also:
- Constant Field Values
-
RECTANGLE_P
public static final int RECTANGLE_PThe Constant RECTANGLE_P.- See Also:
- Constant Field Values
-
SCAN_ERROR
public static final int SCAN_ERRORThe Constant SCAN_ERROR.- See Also:
- Constant Field Values
-
SQUARE
public static final int SQUAREThe Constant SQUARE.- See Also:
- Constant Field Values
-
SQUARE_CONFIG
public static final int SQUARE_CONFIGThe Constant SQUARE_CONFIG.- See Also:
- Constant Field Values
-
SQUARE_L
public static final int SQUARE_LThe Constant SQUARE_L.- See Also:
- Constant Field Values
-
TRIANGLE
public static final int TRIANGLEThe Constant TRIANGLE.- See Also:
- Constant Field Values
-
WS
public static final int WSThe Constant WS.- See Also:
- Constant Field Values
-
X_CORD
public static final int X_CORDThe Constant X_CORD.- See Also:
- Constant Field Values
-
Y_CORD
public static final int Y_CORDThe Constant Y_CORD.- See Also:
- Constant Field Values
-
-
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 inputstate
- 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 classorg.antlr.runtime.BaseRecognizer
- Returns:
- the grammar file name
-
mCIRCLE
public final void mCIRCLE() throws org.antlr.runtime.RecognitionExceptionM CIRCLE.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mSQUARE
public final void mSQUARE() throws org.antlr.runtime.RecognitionExceptionM SQUARE.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mRECTANGLE
public final void mRECTANGLE() throws org.antlr.runtime.RecognitionExceptionM RECTANGLE.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mTRIANGLE
public final void mTRIANGLE() throws org.antlr.runtime.RecognitionExceptionM TRIANGLE.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mCIRCLE_C
public final void mCIRCLE_C() throws org.antlr.runtime.RecognitionExceptionM CIRCL E C.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mCIRCLE_R
public final void mCIRCLE_R() throws org.antlr.runtime.RecognitionExceptionM CIRCL E R.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mSQUARE_L
public final void mSQUARE_L() throws org.antlr.runtime.RecognitionExceptionM SQUAR E L.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mRECTANGLE_P
public final void mRECTANGLE_P() throws org.antlr.runtime.RecognitionExceptionM RECTANGL E P.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mRECTANGLE_B
public final void mRECTANGLE_B() throws org.antlr.runtime.RecognitionExceptionM RECTANGL E B.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mRECTANGLE_H
public final void mRECTANGLE_H() throws org.antlr.runtime.RecognitionExceptionM RECTANGL E H.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mP1
public final void mP1() throws org.antlr.runtime.RecognitionExceptionM P 1.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mP2
public final void mP2() throws org.antlr.runtime.RecognitionExceptionM P 2.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mP3
public final void mP3() throws org.antlr.runtime.RecognitionExceptionM P 3.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mSQUARE_CONFIG
public final void mSQUARE_CONFIG() throws org.antlr.runtime.RecognitionExceptionM SQUAR E CONFIG.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mX_CORD
public final void mX_CORD() throws org.antlr.runtime.RecognitionExceptionM X CORD.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mY_CORD
public final void mY_CORD() throws org.antlr.runtime.RecognitionExceptionM Y CORD.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mCONFIG
public final void mCONFIG() throws org.antlr.runtime.RecognitionExceptionM CONFIG.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mMOVE_SPEED
public final void mMOVE_SPEED() throws org.antlr.runtime.RecognitionExceptionM MOV E SPEED.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mJOB_SPEED
public final void mJOB_SPEED() throws org.antlr.runtime.RecognitionExceptionM JO B SPEED.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mLUBE_SET
public final void mLUBE_SET() throws org.antlr.runtime.RecognitionExceptionM LUB E SET.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mON_OFF
public final void mON_OFF() throws org.antlr.runtime.RecognitionExceptionM O N OFF.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mOB
public final void mOB() throws org.antlr.runtime.RecognitionExceptionM OB.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mCB
public final void mCB() throws org.antlr.runtime.RecognitionExceptionM CB.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mDIGIT
public final void mDIGIT() throws org.antlr.runtime.RecognitionExceptionM DIGIT.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mCOMMENT
public final void mCOMMENT() throws org.antlr.runtime.RecognitionExceptionM COMMENT.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mWS
public final void mWS() throws org.antlr.runtime.RecognitionExceptionM WS.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mSCAN_ERROR
public final void mSCAN_ERROR() throws org.antlr.runtime.RecognitionExceptionM SCA N ERROR.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
mTokens
public void mTokens() throws org.antlr.runtime.RecognitionExceptionM tokens.- Specified by:
mTokens
in classorg.antlr.runtime.Lexer
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-