Package shaperCompiler
Class shaperGrammarParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
shaperCompiler.shaperGrammarParser
public class shaperGrammarParser
extends org.antlr.runtime.Parser
The Class shaperGrammarParser.
-
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 org.antlr.runtime.BitSet
FOLLOW_CB_in_circle182
The Constant FOLLOW_CB_in_circle182.static org.antlr.runtime.BitSet
FOLLOW_CB_in_circle192
The Constant FOLLOW_CB_in_circle192.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle310
The Constant FOLLOW_CB_in_rectangle310.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle320
The Constant FOLLOW_CB_in_rectangle320.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle338
The Constant FOLLOW_CB_in_rectangle338.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle348
The Constant FOLLOW_CB_in_rectangle348.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle366
The Constant FOLLOW_CB_in_rectangle366.static org.antlr.runtime.BitSet
FOLLOW_CB_in_rectangle376
The Constant FOLLOW_CB_in_rectangle376.static org.antlr.runtime.BitSet
FOLLOW_CB_in_square235
The Constant FOLLOW_CB_in_square235.static org.antlr.runtime.BitSet
FOLLOW_CB_in_square245
The Constant FOLLOW_CB_in_square245.static org.antlr.runtime.BitSet
FOLLOW_CB_in_square257
The Constant FOLLOW_CB_in_square257.static org.antlr.runtime.BitSet
FOLLOW_CB_in_square267
The Constant FOLLOW_CB_in_square267.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle414
The Constant FOLLOW_CB_in_triangle414.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle424
The Constant FOLLOW_CB_in_triangle424.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle436
The Constant FOLLOW_CB_in_triangle436.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle446
The Constant FOLLOW_CB_in_triangle446.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle458
The Constant FOLLOW_CB_in_triangle458.static org.antlr.runtime.BitSet
FOLLOW_CB_in_triangle468
The Constant FOLLOW_CB_in_triangle468.static org.antlr.runtime.BitSet
FOLLOW_CIRCLE_C_in_circle172
The Constant FOLLOW_CIRCLE_C_in_circle172.static org.antlr.runtime.BitSet
FOLLOW_CIRCLE_in_circle170
The Constant FOLLOW_CIRCLE_in_circle170.static org.antlr.runtime.BitSet
FOLLOW_circle_in_shaper68
The Constant FOLLOW_circle_in_shaper68.static org.antlr.runtime.BitSet
FOLLOW_CIRCLE_R_in_circle198
The Constant FOLLOW_CIRCLE_R_in_circle198.static org.antlr.runtime.BitSet
FOLLOW_CONFIG_in_configuration495
The Constant FOLLOW_CONFIG_in_configuration495.static org.antlr.runtime.BitSet
FOLLOW_configuration_in_shaper118
The Constant FOLLOW_configuration_in_shaper118.static org.antlr.runtime.BitSet
FOLLOW_configuration_in_shaper140
The Constant FOLLOW_configuration_in_shaper140.static org.antlr.runtime.BitSet
FOLLOW_configuration_in_shaper74
The Constant FOLLOW_configuration_in_shaper74.static org.antlr.runtime.BitSet
FOLLOW_configuration_in_shaper96
The Constant FOLLOW_configuration_in_shaper96.static org.antlr.runtime.BitSet
FOLLOW_EOF_in_shaper150
The Constant FOLLOW_EOF_in_shaper150.static org.antlr.runtime.BitSet
FOLLOW_JOB_SPEED_in_configuration539
The Constant FOLLOW_JOB_SPEED_in_configuration539.static org.antlr.runtime.BitSet
FOLLOW_JOB_SPEED_in_configuration579
The Constant FOLLOW_JOB_SPEED_in_configuration579.static org.antlr.runtime.BitSet
FOLLOW_JOB_SPEED_in_configuration628
The Constant FOLLOW_JOB_SPEED_in_configuration628.static org.antlr.runtime.BitSet
FOLLOW_JOB_SPEED_in_configuration771
The Constant FOLLOW_JOB_SPEED_in_configuration771.static org.antlr.runtime.BitSet
FOLLOW_JOB_SPEED_in_configuration809
The Constant FOLLOW_JOB_SPEED_in_configuration809.static org.antlr.runtime.BitSet
FOLLOW_LUBE_SET_in_configuration541
The Constant FOLLOW_LUBE_SET_in_configuration541.static org.antlr.runtime.BitSet
FOLLOW_LUBE_SET_in_configuration567
The Constant FOLLOW_LUBE_SET_in_configuration567.static org.antlr.runtime.BitSet
FOLLOW_LUBE_SET_in_configuration655
The Constant FOLLOW_LUBE_SET_in_configuration655.static org.antlr.runtime.BitSet
FOLLOW_LUBE_SET_in_configuration681
The Constant FOLLOW_LUBE_SET_in_configuration681.static org.antlr.runtime.BitSet
FOLLOW_LUBE_SET_in_configuration738
The Constant FOLLOW_LUBE_SET_in_configuration738.static org.antlr.runtime.BitSet
FOLLOW_MOVE_SPEED_in_configuration514
The Constant FOLLOW_MOVE_SPEED_in_configuration514.static org.antlr.runtime.BitSet
FOLLOW_MOVE_SPEED_in_configuration653
The Constant FOLLOW_MOVE_SPEED_in_configuration653.static org.antlr.runtime.BitSet
FOLLOW_MOVE_SPEED_in_configuration693
The Constant FOLLOW_MOVE_SPEED_in_configuration693.static org.antlr.runtime.BitSet
FOLLOW_MOVE_SPEED_in_configuration777
The Constant FOLLOW_MOVE_SPEED_in_configuration777.static org.antlr.runtime.BitSet
FOLLOW_MOVE_SPEED_in_configuration803
The Constant FOLLOW_MOVE_SPEED_in_configuration803.static org.antlr.runtime.BitSet
FOLLOW_OB_in_circle174
The Constant FOLLOW_OB_in_circle174.static org.antlr.runtime.BitSet
FOLLOW_OB_in_circle184
The Constant FOLLOW_OB_in_circle184.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle302
The Constant FOLLOW_OB_in_rectangle302.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle312
The Constant FOLLOW_OB_in_rectangle312.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle330
The Constant FOLLOW_OB_in_rectangle330.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle340
The Constant FOLLOW_OB_in_rectangle340.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle358
The Constant FOLLOW_OB_in_rectangle358.static org.antlr.runtime.BitSet
FOLLOW_OB_in_rectangle368
The Constant FOLLOW_OB_in_rectangle368.static org.antlr.runtime.BitSet
FOLLOW_OB_in_square227
The Constant FOLLOW_OB_in_square227.static org.antlr.runtime.BitSet
FOLLOW_OB_in_square237
The Constant FOLLOW_OB_in_square237.static org.antlr.runtime.BitSet
FOLLOW_OB_in_square249
The Constant FOLLOW_OB_in_square249.static org.antlr.runtime.BitSet
FOLLOW_OB_in_square259
The Constant FOLLOW_OB_in_square259.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle406
The Constant FOLLOW_OB_in_triangle406.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle416
The Constant FOLLOW_OB_in_triangle416.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle428
The Constant FOLLOW_OB_in_triangle428.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle438
The Constant FOLLOW_OB_in_triangle438.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle450
The Constant FOLLOW_OB_in_triangle450.static org.antlr.runtime.BitSet
FOLLOW_OB_in_triangle460
The Constant FOLLOW_OB_in_triangle460.static org.antlr.runtime.BitSet
FOLLOW_ON_OFF_in_configuration547
The Constant FOLLOW_ON_OFF_in_configuration547.static org.antlr.runtime.BitSet
FOLLOW_ON_OFF_in_configuration573
The Constant FOLLOW_ON_OFF_in_configuration573.static org.antlr.runtime.BitSet
FOLLOW_ON_OFF_in_configuration661
The Constant FOLLOW_ON_OFF_in_configuration661.static org.antlr.runtime.BitSet
FOLLOW_ON_OFF_in_configuration687
The Constant FOLLOW_ON_OFF_in_configuration687.static org.antlr.runtime.BitSet
FOLLOW_ON_OFF_in_configuration744
The Constant FOLLOW_ON_OFF_in_configuration744.static org.antlr.runtime.BitSet
FOLLOW_P1_in_rectangle300
The Constant FOLLOW_P1_in_rectangle300.static org.antlr.runtime.BitSet
FOLLOW_P1_in_square225
The Constant FOLLOW_P1_in_square225.static org.antlr.runtime.BitSet
FOLLOW_P1_in_triangle404
The Constant FOLLOW_P1_in_triangle404.static org.antlr.runtime.BitSet
FOLLOW_P2_in_square247
The Constant FOLLOW_P2_in_square247.static org.antlr.runtime.BitSet
FOLLOW_P2_in_triangle426
The Constant FOLLOW_P2_in_triangle426.static org.antlr.runtime.BitSet
FOLLOW_P3_in_triangle448
The Constant FOLLOW_P3_in_triangle448.static org.antlr.runtime.BitSet
FOLLOW_RECTANGLE_in_rectangle298
The Constant FOLLOW_RECTANGLE_in_rectangle298.static org.antlr.runtime.BitSet
FOLLOW_rectangle_in_shaper112
The Constant FOLLOW_rectangle_in_shaper112.static org.antlr.runtime.BitSet
FOLLOW_set_in_rectangle322
The Constant FOLLOW_set_in_rectangle322.static org.antlr.runtime.BitSet
FOLLOW_set_in_rectangle350
The Constant FOLLOW_set_in_rectangle350.static org.antlr.runtime.BitSet
FOLLOW_SQUARE_CONFIG_in_square273
The Constant FOLLOW_SQUARE_CONFIG_in_square273.static org.antlr.runtime.BitSet
FOLLOW_square_in_shaper134
The Constant FOLLOW_square_in_shaper134.static org.antlr.runtime.BitSet
FOLLOW_SQUARE_in_square223
The Constant FOLLOW_SQUARE_in_square223.static org.antlr.runtime.BitSet
FOLLOW_triangle_in_shaper90
The Constant FOLLOW_triangle_in_shaper90.static org.antlr.runtime.BitSet
FOLLOW_TRIANGLE_in_triangle402
The Constant FOLLOW_TRIANGLE_in_triangle402.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_circle180
The Constant FOLLOW_X_CORD_in_circle180.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_rectangle308
The Constant FOLLOW_X_CORD_in_rectangle308.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_rectangle336
The Constant FOLLOW_X_CORD_in_rectangle336.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_rectangle364
The Constant FOLLOW_X_CORD_in_rectangle364.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_square233
The Constant FOLLOW_X_CORD_in_square233.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_square255
The Constant FOLLOW_X_CORD_in_square255.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_triangle412
The Constant FOLLOW_X_CORD_in_triangle412.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_triangle434
The Constant FOLLOW_X_CORD_in_triangle434.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_triangle456
The Constant FOLLOW_X_CORD_in_triangle456.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_circle190
The Constant FOLLOW_Y_CORD_in_circle190.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_rectangle318
The Constant FOLLOW_Y_CORD_in_rectangle318.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_rectangle346
The Constant FOLLOW_Y_CORD_in_rectangle346.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_rectangle374
The Constant FOLLOW_Y_CORD_in_rectangle374.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_square243
The Constant FOLLOW_Y_CORD_in_square243.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_square265
The Constant FOLLOW_Y_CORD_in_square265.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_triangle422
The Constant FOLLOW_Y_CORD_in_triangle422.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_triangle444
The Constant FOLLOW_Y_CORD_in_triangle444.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_triangle466
The Constant FOLLOW_Y_CORD_in_triangle466.shaperGrammarHandler
h
The h.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 java.lang.String[]
tokenNames
The Constant tokenNames.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 shaperGrammarParser(java.lang.String fileIn)
Instantiates a new shaper grammar parser.shaperGrammarParser(org.antlr.runtime.TokenStream input)
Instantiates a new shaper grammar parser.shaperGrammarParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
Instantiates a new shaper grammar parser. -
Method Summary
Modifier and Type Method Description Circle
circle()
Circle.Shape
configuration()
Configuration.void
displayRecognitionError(java.lang.String[] tokenNames, org.antlr.runtime.RecognitionException e)
Display recognition error.org.antlr.runtime.Parser[]
getDelegates()
Gets the delegates.java.util.List<ShaperError>
getErrorList()
Gets the error list.java.lang.String
getGrammarFileName()
Gets the grammar file name.shaperGrammarHandler
getHandler()
Gets the handler.java.lang.String[]
getTokenNames()
Gets the token names.Rectangle
rectangle()
Rectangle.(package private) void
setup()
Setup.void
shaper()
Shaper.Square
square()
Square.Triangle
triangle()
Triangle.Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
-
Field Details
-
tokenNames
public static final java.lang.String[] tokenNamesThe Constant tokenNames. -
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
-
h
The h. -
FOLLOW_circle_in_shaper68
public static final org.antlr.runtime.BitSet FOLLOW_circle_in_shaper68The Constant FOLLOW_circle_in_shaper68. -
FOLLOW_configuration_in_shaper74
public static final org.antlr.runtime.BitSet FOLLOW_configuration_in_shaper74The Constant FOLLOW_configuration_in_shaper74. -
FOLLOW_triangle_in_shaper90
public static final org.antlr.runtime.BitSet FOLLOW_triangle_in_shaper90The Constant FOLLOW_triangle_in_shaper90. -
FOLLOW_configuration_in_shaper96
public static final org.antlr.runtime.BitSet FOLLOW_configuration_in_shaper96The Constant FOLLOW_configuration_in_shaper96. -
FOLLOW_rectangle_in_shaper112
public static final org.antlr.runtime.BitSet FOLLOW_rectangle_in_shaper112The Constant FOLLOW_rectangle_in_shaper112. -
FOLLOW_configuration_in_shaper118
public static final org.antlr.runtime.BitSet FOLLOW_configuration_in_shaper118The Constant FOLLOW_configuration_in_shaper118. -
FOLLOW_square_in_shaper134
public static final org.antlr.runtime.BitSet FOLLOW_square_in_shaper134The Constant FOLLOW_square_in_shaper134. -
FOLLOW_configuration_in_shaper140
public static final org.antlr.runtime.BitSet FOLLOW_configuration_in_shaper140The Constant FOLLOW_configuration_in_shaper140. -
FOLLOW_EOF_in_shaper150
public static final org.antlr.runtime.BitSet FOLLOW_EOF_in_shaper150The Constant FOLLOW_EOF_in_shaper150. -
FOLLOW_CIRCLE_in_circle170
public static final org.antlr.runtime.BitSet FOLLOW_CIRCLE_in_circle170The Constant FOLLOW_CIRCLE_in_circle170. -
FOLLOW_CIRCLE_C_in_circle172
public static final org.antlr.runtime.BitSet FOLLOW_CIRCLE_C_in_circle172The Constant FOLLOW_CIRCLE_C_in_circle172. -
FOLLOW_OB_in_circle174
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_circle174The Constant FOLLOW_OB_in_circle174. -
FOLLOW_X_CORD_in_circle180
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_circle180The Constant FOLLOW_X_CORD_in_circle180. -
FOLLOW_CB_in_circle182
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_circle182The Constant FOLLOW_CB_in_circle182. -
FOLLOW_OB_in_circle184
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_circle184The Constant FOLLOW_OB_in_circle184. -
FOLLOW_Y_CORD_in_circle190
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_circle190The Constant FOLLOW_Y_CORD_in_circle190. -
FOLLOW_CB_in_circle192
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_circle192The Constant FOLLOW_CB_in_circle192. -
FOLLOW_CIRCLE_R_in_circle198
public static final org.antlr.runtime.BitSet FOLLOW_CIRCLE_R_in_circle198The Constant FOLLOW_CIRCLE_R_in_circle198. -
FOLLOW_SQUARE_in_square223
public static final org.antlr.runtime.BitSet FOLLOW_SQUARE_in_square223The Constant FOLLOW_SQUARE_in_square223. -
FOLLOW_P1_in_square225
public static final org.antlr.runtime.BitSet FOLLOW_P1_in_square225The Constant FOLLOW_P1_in_square225. -
FOLLOW_OB_in_square227
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_square227The Constant FOLLOW_OB_in_square227. -
FOLLOW_X_CORD_in_square233
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_square233The Constant FOLLOW_X_CORD_in_square233. -
FOLLOW_CB_in_square235
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_square235The Constant FOLLOW_CB_in_square235. -
FOLLOW_OB_in_square237
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_square237The Constant FOLLOW_OB_in_square237. -
FOLLOW_Y_CORD_in_square243
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_square243The Constant FOLLOW_Y_CORD_in_square243. -
FOLLOW_CB_in_square245
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_square245The Constant FOLLOW_CB_in_square245. -
FOLLOW_P2_in_square247
public static final org.antlr.runtime.BitSet FOLLOW_P2_in_square247The Constant FOLLOW_P2_in_square247. -
FOLLOW_OB_in_square249
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_square249The Constant FOLLOW_OB_in_square249. -
FOLLOW_X_CORD_in_square255
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_square255The Constant FOLLOW_X_CORD_in_square255. -
FOLLOW_CB_in_square257
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_square257The Constant FOLLOW_CB_in_square257. -
FOLLOW_OB_in_square259
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_square259The Constant FOLLOW_OB_in_square259. -
FOLLOW_Y_CORD_in_square265
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_square265The Constant FOLLOW_Y_CORD_in_square265. -
FOLLOW_CB_in_square267
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_square267The Constant FOLLOW_CB_in_square267. -
FOLLOW_SQUARE_CONFIG_in_square273
public static final org.antlr.runtime.BitSet FOLLOW_SQUARE_CONFIG_in_square273The Constant FOLLOW_SQUARE_CONFIG_in_square273. -
FOLLOW_RECTANGLE_in_rectangle298
public static final org.antlr.runtime.BitSet FOLLOW_RECTANGLE_in_rectangle298The Constant FOLLOW_RECTANGLE_in_rectangle298. -
FOLLOW_P1_in_rectangle300
public static final org.antlr.runtime.BitSet FOLLOW_P1_in_rectangle300The Constant FOLLOW_P1_in_rectangle300. -
FOLLOW_OB_in_rectangle302
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle302The Constant FOLLOW_OB_in_rectangle302. -
FOLLOW_X_CORD_in_rectangle308
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_rectangle308The Constant FOLLOW_X_CORD_in_rectangle308. -
FOLLOW_CB_in_rectangle310
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle310The Constant FOLLOW_CB_in_rectangle310. -
FOLLOW_OB_in_rectangle312
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle312The Constant FOLLOW_OB_in_rectangle312. -
FOLLOW_Y_CORD_in_rectangle318
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_rectangle318The Constant FOLLOW_Y_CORD_in_rectangle318. -
FOLLOW_CB_in_rectangle320
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle320The Constant FOLLOW_CB_in_rectangle320. -
FOLLOW_set_in_rectangle322
public static final org.antlr.runtime.BitSet FOLLOW_set_in_rectangle322The Constant FOLLOW_set_in_rectangle322. -
FOLLOW_OB_in_rectangle330
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle330The Constant FOLLOW_OB_in_rectangle330. -
FOLLOW_X_CORD_in_rectangle336
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_rectangle336The Constant FOLLOW_X_CORD_in_rectangle336. -
FOLLOW_CB_in_rectangle338
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle338The Constant FOLLOW_CB_in_rectangle338. -
FOLLOW_OB_in_rectangle340
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle340The Constant FOLLOW_OB_in_rectangle340. -
FOLLOW_Y_CORD_in_rectangle346
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_rectangle346The Constant FOLLOW_Y_CORD_in_rectangle346. -
FOLLOW_CB_in_rectangle348
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle348The Constant FOLLOW_CB_in_rectangle348. -
FOLLOW_set_in_rectangle350
public static final org.antlr.runtime.BitSet FOLLOW_set_in_rectangle350The Constant FOLLOW_set_in_rectangle350. -
FOLLOW_OB_in_rectangle358
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle358The Constant FOLLOW_OB_in_rectangle358. -
FOLLOW_X_CORD_in_rectangle364
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_rectangle364The Constant FOLLOW_X_CORD_in_rectangle364. -
FOLLOW_CB_in_rectangle366
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle366The Constant FOLLOW_CB_in_rectangle366. -
FOLLOW_OB_in_rectangle368
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_rectangle368The Constant FOLLOW_OB_in_rectangle368. -
FOLLOW_Y_CORD_in_rectangle374
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_rectangle374The Constant FOLLOW_Y_CORD_in_rectangle374. -
FOLLOW_CB_in_rectangle376
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_rectangle376The Constant FOLLOW_CB_in_rectangle376. -
FOLLOW_TRIANGLE_in_triangle402
public static final org.antlr.runtime.BitSet FOLLOW_TRIANGLE_in_triangle402The Constant FOLLOW_TRIANGLE_in_triangle402. -
FOLLOW_P1_in_triangle404
public static final org.antlr.runtime.BitSet FOLLOW_P1_in_triangle404The Constant FOLLOW_P1_in_triangle404. -
FOLLOW_OB_in_triangle406
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle406The Constant FOLLOW_OB_in_triangle406. -
FOLLOW_X_CORD_in_triangle412
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_triangle412The Constant FOLLOW_X_CORD_in_triangle412. -
FOLLOW_CB_in_triangle414
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle414The Constant FOLLOW_CB_in_triangle414. -
FOLLOW_OB_in_triangle416
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle416The Constant FOLLOW_OB_in_triangle416. -
FOLLOW_Y_CORD_in_triangle422
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_triangle422The Constant FOLLOW_Y_CORD_in_triangle422. -
FOLLOW_CB_in_triangle424
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle424The Constant FOLLOW_CB_in_triangle424. -
FOLLOW_P2_in_triangle426
public static final org.antlr.runtime.BitSet FOLLOW_P2_in_triangle426The Constant FOLLOW_P2_in_triangle426. -
FOLLOW_OB_in_triangle428
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle428The Constant FOLLOW_OB_in_triangle428. -
FOLLOW_X_CORD_in_triangle434
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_triangle434The Constant FOLLOW_X_CORD_in_triangle434. -
FOLLOW_CB_in_triangle436
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle436The Constant FOLLOW_CB_in_triangle436. -
FOLLOW_OB_in_triangle438
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle438The Constant FOLLOW_OB_in_triangle438. -
FOLLOW_Y_CORD_in_triangle444
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_triangle444The Constant FOLLOW_Y_CORD_in_triangle444. -
FOLLOW_CB_in_triangle446
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle446The Constant FOLLOW_CB_in_triangle446. -
FOLLOW_P3_in_triangle448
public static final org.antlr.runtime.BitSet FOLLOW_P3_in_triangle448The Constant FOLLOW_P3_in_triangle448. -
FOLLOW_OB_in_triangle450
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle450The Constant FOLLOW_OB_in_triangle450. -
FOLLOW_X_CORD_in_triangle456
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_triangle456The Constant FOLLOW_X_CORD_in_triangle456. -
FOLLOW_CB_in_triangle458
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle458The Constant FOLLOW_CB_in_triangle458. -
FOLLOW_OB_in_triangle460
public static final org.antlr.runtime.BitSet FOLLOW_OB_in_triangle460The Constant FOLLOW_OB_in_triangle460. -
FOLLOW_Y_CORD_in_triangle466
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_triangle466The Constant FOLLOW_Y_CORD_in_triangle466. -
FOLLOW_CB_in_triangle468
public static final org.antlr.runtime.BitSet FOLLOW_CB_in_triangle468The Constant FOLLOW_CB_in_triangle468. -
FOLLOW_CONFIG_in_configuration495
public static final org.antlr.runtime.BitSet FOLLOW_CONFIG_in_configuration495The Constant FOLLOW_CONFIG_in_configuration495. -
FOLLOW_MOVE_SPEED_in_configuration514
public static final org.antlr.runtime.BitSet FOLLOW_MOVE_SPEED_in_configuration514The Constant FOLLOW_MOVE_SPEED_in_configuration514. -
FOLLOW_JOB_SPEED_in_configuration539
public static final org.antlr.runtime.BitSet FOLLOW_JOB_SPEED_in_configuration539The Constant FOLLOW_JOB_SPEED_in_configuration539. -
FOLLOW_LUBE_SET_in_configuration541
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_SET_in_configuration541The Constant FOLLOW_LUBE_SET_in_configuration541. -
FOLLOW_ON_OFF_in_configuration547
public static final org.antlr.runtime.BitSet FOLLOW_ON_OFF_in_configuration547The Constant FOLLOW_ON_OFF_in_configuration547. -
FOLLOW_LUBE_SET_in_configuration567
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_SET_in_configuration567The Constant FOLLOW_LUBE_SET_in_configuration567. -
FOLLOW_ON_OFF_in_configuration573
public static final org.antlr.runtime.BitSet FOLLOW_ON_OFF_in_configuration573The Constant FOLLOW_ON_OFF_in_configuration573. -
FOLLOW_JOB_SPEED_in_configuration579
public static final org.antlr.runtime.BitSet FOLLOW_JOB_SPEED_in_configuration579The Constant FOLLOW_JOB_SPEED_in_configuration579. -
FOLLOW_JOB_SPEED_in_configuration628
public static final org.antlr.runtime.BitSet FOLLOW_JOB_SPEED_in_configuration628The Constant FOLLOW_JOB_SPEED_in_configuration628. -
FOLLOW_MOVE_SPEED_in_configuration653
public static final org.antlr.runtime.BitSet FOLLOW_MOVE_SPEED_in_configuration653The Constant FOLLOW_MOVE_SPEED_in_configuration653. -
FOLLOW_LUBE_SET_in_configuration655
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_SET_in_configuration655The Constant FOLLOW_LUBE_SET_in_configuration655. -
FOLLOW_ON_OFF_in_configuration661
public static final org.antlr.runtime.BitSet FOLLOW_ON_OFF_in_configuration661The Constant FOLLOW_ON_OFF_in_configuration661. -
FOLLOW_LUBE_SET_in_configuration681
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_SET_in_configuration681The Constant FOLLOW_LUBE_SET_in_configuration681. -
FOLLOW_ON_OFF_in_configuration687
public static final org.antlr.runtime.BitSet FOLLOW_ON_OFF_in_configuration687The Constant FOLLOW_ON_OFF_in_configuration687. -
FOLLOW_MOVE_SPEED_in_configuration693
public static final org.antlr.runtime.BitSet FOLLOW_MOVE_SPEED_in_configuration693The Constant FOLLOW_MOVE_SPEED_in_configuration693. -
FOLLOW_LUBE_SET_in_configuration738
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_SET_in_configuration738The Constant FOLLOW_LUBE_SET_in_configuration738. -
FOLLOW_ON_OFF_in_configuration744
public static final org.antlr.runtime.BitSet FOLLOW_ON_OFF_in_configuration744The Constant FOLLOW_ON_OFF_in_configuration744. -
FOLLOW_JOB_SPEED_in_configuration771
public static final org.antlr.runtime.BitSet FOLLOW_JOB_SPEED_in_configuration771The Constant FOLLOW_JOB_SPEED_in_configuration771. -
FOLLOW_MOVE_SPEED_in_configuration777
public static final org.antlr.runtime.BitSet FOLLOW_MOVE_SPEED_in_configuration777The Constant FOLLOW_MOVE_SPEED_in_configuration777. -
FOLLOW_MOVE_SPEED_in_configuration803
public static final org.antlr.runtime.BitSet FOLLOW_MOVE_SPEED_in_configuration803The Constant FOLLOW_MOVE_SPEED_in_configuration803. -
FOLLOW_JOB_SPEED_in_configuration809
public static final org.antlr.runtime.BitSet FOLLOW_JOB_SPEED_in_configuration809The Constant FOLLOW_JOB_SPEED_in_configuration809.
-
-
Constructor Details
-
shaperGrammarParser
public shaperGrammarParser(org.antlr.runtime.TokenStream input)Instantiates a new shaper grammar parser.- Parameters:
input
- the input
-
shaperGrammarParser
public shaperGrammarParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)Instantiates a new shaper grammar parser.- Parameters:
input
- the inputstate
- the state
-
shaperGrammarParser
public shaperGrammarParser(java.lang.String fileIn) throws java.io.FileNotFoundException, java.io.IOExceptionInstantiates a new shaper grammar parser.- Parameters:
fileIn
- the file in- Throws:
java.io.FileNotFoundException
- the file not found exceptionjava.io.IOException
- Signals that an I/O exception has occurred.
-
-
Method Details
-
getDelegates
public org.antlr.runtime.Parser[] getDelegates()Gets the delegates.- Returns:
- the delegates
-
getTokenNames
public java.lang.String[] getTokenNames()Gets the token names.- Overrides:
getTokenNames
in classorg.antlr.runtime.BaseRecognizer
- Returns:
- the token names
-
getGrammarFileName
public java.lang.String getGrammarFileName()Gets the grammar file name.- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
- Returns:
- the grammar file name
-
setup
void setup()Setup. -
getHandler
Gets the handler.- Returns:
- the handler
-
getErrorList
Gets the error list.- Returns:
- the error list
-
displayRecognitionError
public void displayRecognitionError(java.lang.String[] tokenNames, org.antlr.runtime.RecognitionException e)Display recognition error.- Overrides:
displayRecognitionError
in classorg.antlr.runtime.BaseRecognizer
- Parameters:
tokenNames
- the token namese
- the e
-
shaper
public final void shaper() throws org.antlr.runtime.RecognitionExceptionShaper.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
circle
Circle.- Returns:
- the circle
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
square
Square.- Returns:
- the square
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
rectangle
Rectangle.- Returns:
- the rectangle
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
triangle
Triangle.- Returns:
- the triangle
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
configuration
Configuration.- Returns:
- the shape
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-