Package gcodeCompiler
Class gcodeGrammarParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
gcodeCompiler.gcodeGrammarParser
public class gcodeGrammarParser
extends org.antlr.runtime.Parser
The Class gcodeGrammarParser.
-
Field Summary
Fields Modifier and Type Field Description static int
CHANGE_TOOL
The Constant CHANGE_TOOL.static int
CIRCLE_ACW
The Constant CIRCLE_ACW.static int
CIRCLE_CW
The Constant CIRCLE_CW.static int
COMMENT
The Constant COMMENT.static int
COMP_DIS
The Constant COMP_DIS.static int
COMP_L
The Constant COMP_L.static int
COMP_R
The Constant COMP_R.static int
COORD_ABS
The Constant COORD_ABS.static int
COORD_REL
The Constant COORD_REL.static int
CORD_DIGIT
The Constant CORD_DIGIT.static int
DIGIT
The Constant DIGIT.static int
END_PROG
The Constant END_PROG.static int
EOF
The Constant EOF.static org.antlr.runtime.BitSet
FOLLOW_block_in_gcode72
The Constant FOLLOW_block_in_gcode72.static org.antlr.runtime.BitSet
FOLLOW_CHANGE_TOOL_in_info_tecnologiche_M774
The Constant FOLLOW_CHANGE_TOOL_in_info_tecnologiche_M774.static org.antlr.runtime.BitSet
FOLLOW_CIRCLE_ACW_in_info_geometriche469
The Constant FOLLOW_CIRCLE_ACW_in_info_geometriche469.static org.antlr.runtime.BitSet
FOLLOW_CIRCLE_CW_in_info_geometriche446
The Constant FOLLOW_CIRCLE_CW_in_info_geometriche446.static org.antlr.runtime.BitSet
FOLLOW_COMP_DIS_in_info_geometriche492
The Constant FOLLOW_COMP_DIS_in_info_geometriche492.static org.antlr.runtime.BitSet
FOLLOW_COMP_L_in_info_geometriche503
The Constant FOLLOW_COMP_L_in_info_geometriche503.static org.antlr.runtime.BitSet
FOLLOW_COMP_R_in_info_geometriche514
The Constant FOLLOW_COMP_R_in_info_geometriche514.static org.antlr.runtime.BitSet
FOLLOW_COORD_ABS_in_info_geometriche389
The Constant FOLLOW_COORD_ABS_in_info_geometriche389.static org.antlr.runtime.BitSet
FOLLOW_COORD_REL_in_info_geometriche400
The Constant FOLLOW_COORD_REL_in_info_geometriche400.static org.antlr.runtime.BitSet
FOLLOW_coordinate_IJK_in_info_geometriche458
The Constant FOLLOW_coordinate_IJK_in_info_geometriche458.static org.antlr.runtime.BitSet
FOLLOW_coordinate_IJK_in_info_geometriche481
The Constant FOLLOW_coordinate_IJK_in_info_geometriche481.static org.antlr.runtime.BitSet
FOLLOW_coordinate_XYZ_in_info_geometriche417
The Constant FOLLOW_coordinate_XYZ_in_info_geometriche417.static org.antlr.runtime.BitSet
FOLLOW_coordinate_XYZ_in_info_geometriche434
The Constant FOLLOW_coordinate_XYZ_in_info_geometriche434.static org.antlr.runtime.BitSet
FOLLOW_coordinate_XYZ_in_info_geometriche452
The Constant FOLLOW_coordinate_XYZ_in_info_geometriche452.static org.antlr.runtime.BitSet
FOLLOW_coordinate_XYZ_in_info_geometriche475
The Constant FOLLOW_coordinate_XYZ_in_info_geometriche475.static org.antlr.runtime.BitSet
FOLLOW_END_PROG_in_info_tecnologiche_M804
The Constant FOLLOW_END_PROG_in_info_tecnologiche_M804.static org.antlr.runtime.BitSet
FOLLOW_EOF_in_gcode76
The Constant FOLLOW_EOF_in_gcode76.static org.antlr.runtime.BitSet
FOLLOW_FREE_MOVE_in_info_geometriche411
The Constant FOLLOW_FREE_MOVE_in_info_geometriche411.static org.antlr.runtime.BitSet
FOLLOW_FREE_MOVE_SPEED_in_info_tecnologiche696
The Constant FOLLOW_FREE_MOVE_SPEED_in_info_tecnologiche696.static org.antlr.runtime.BitSet
FOLLOW_I_CORD_in_coordinate_IJK621
The Constant FOLLOW_I_CORD_in_coordinate_IJK621.static org.antlr.runtime.BitSet
FOLLOW_info_3M_in_block155
The Constant FOLLOW_info_3M_in_block155.static org.antlr.runtime.BitSet
FOLLOW_info_3M_in_block201
The Constant FOLLOW_info_3M_in_block201.static org.antlr.runtime.BitSet
FOLLOW_info_3M_in_block275
The Constant FOLLOW_info_3M_in_block275.static org.antlr.runtime.BitSet
FOLLOW_info_3M_in_block294
The Constant FOLLOW_info_3M_in_block294.static org.antlr.runtime.BitSet
FOLLOW_info_geometriche_in_block118
The Constant FOLLOW_info_geometriche_in_block118.static org.antlr.runtime.BitSet
FOLLOW_info_tecnologiche_in_block188
The Constant FOLLOW_info_tecnologiche_in_block188.static org.antlr.runtime.BitSet
FOLLOW_info_tecnologiche_in_block262
The Constant FOLLOW_info_tecnologiche_in_block262.static org.antlr.runtime.BitSet
FOLLOW_info_tecnologiche_M_in_info_3M339
The Constant FOLLOW_info_tecnologiche_M_in_info_3M339.static org.antlr.runtime.BitSet
FOLLOW_info_tecnologiche_M_in_info_3M349
The Constant FOLLOW_info_tecnologiche_M_in_info_3M349.static org.antlr.runtime.BitSet
FOLLOW_info_tecnologiche_M_in_info_3M360
The Constant FOLLOW_info_tecnologiche_M_in_info_3M360.static org.antlr.runtime.BitSet
FOLLOW_J_CORD_in_coordinate_IJK628
The Constant FOLLOW_J_CORD_in_coordinate_IJK628.static org.antlr.runtime.BitSet
FOLLOW_J_CORD_in_coordinate_IJK648
The Constant FOLLOW_J_CORD_in_coordinate_IJK648.static org.antlr.runtime.BitSet
FOLLOW_JOB_MOVE_in_info_geometriche428
The Constant FOLLOW_JOB_MOVE_in_info_geometriche428.static org.antlr.runtime.BitSet
FOLLOW_JOB_MOVE_SPEED_in_info_tecnologiche707
The Constant FOLLOW_JOB_MOVE_SPEED_in_info_tecnologiche707.static org.antlr.runtime.BitSet
FOLLOW_K_CORD_in_coordinate_IJK637
The Constant FOLLOW_K_CORD_in_coordinate_IJK637.static org.antlr.runtime.BitSet
FOLLOW_K_CORD_in_coordinate_IJK655
The Constant FOLLOW_K_CORD_in_coordinate_IJK655.static org.antlr.runtime.BitSet
FOLLOW_K_CORD_in_coordinate_IJK666
The Constant FOLLOW_K_CORD_in_coordinate_IJK666.static org.antlr.runtime.BitSet
FOLLOW_LUBE_OFF_in_info_tecnologiche_M794
The Constant FOLLOW_LUBE_OFF_in_info_tecnologiche_M794.static org.antlr.runtime.BitSet
FOLLOW_LUBE_ON_in_info_tecnologiche_M784
The Constant FOLLOW_LUBE_ON_in_info_tecnologiche_M784.static org.antlr.runtime.BitSet
FOLLOW_N_BLOCK_in_block100
The Constant FOLLOW_N_BLOCK_in_block100.static org.antlr.runtime.BitSet
FOLLOW_ROT_TOOL_ACW_in_info_tecnologiche_M754
The Constant FOLLOW_ROT_TOOL_ACW_in_info_tecnologiche_M754.static org.antlr.runtime.BitSet
FOLLOW_ROT_TOOL_CW_in_info_tecnologiche_M744
The Constant FOLLOW_ROT_TOOL_CW_in_info_tecnologiche_M744.static org.antlr.runtime.BitSet
FOLLOW_STOP_TOOL_in_info_tecnologiche_M764
The Constant FOLLOW_STOP_TOOL_in_info_tecnologiche_M764.static org.antlr.runtime.BitSet
FOLLOW_TOOL_CHANGE_in_info_tecnologiche718
The Constant FOLLOW_TOOL_CHANGE_in_info_tecnologiche718.static org.antlr.runtime.BitSet
FOLLOW_X_CORD_in_coordinate_XYZ543
The Constant FOLLOW_X_CORD_in_coordinate_XYZ543.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_coordinate_XYZ550
The Constant FOLLOW_Y_CORD_in_coordinate_XYZ550.static org.antlr.runtime.BitSet
FOLLOW_Y_CORD_in_coordinate_XYZ571
The Constant FOLLOW_Y_CORD_in_coordinate_XYZ571.static org.antlr.runtime.BitSet
FOLLOW_Z_CORD_in_coordinate_XYZ559
The Constant FOLLOW_Z_CORD_in_coordinate_XYZ559.static org.antlr.runtime.BitSet
FOLLOW_Z_CORD_in_coordinate_XYZ578
The Constant FOLLOW_Z_CORD_in_coordinate_XYZ578.static org.antlr.runtime.BitSet
FOLLOW_Z_CORD_in_coordinate_XYZ589
The Constant FOLLOW_Z_CORD_in_coordinate_XYZ589.static int
FREE_MOVE
The Constant FREE_MOVE.static int
FREE_MOVE_SPEED
The Constant FREE_MOVE_SPEED.gcodeGrammarHandler
h
The h.static int
I_CORD
The Constant I_CORD.static int
J_CORD
The Constant J_CORD.static int
JOB_MOVE
The Constant JOB_MOVE.static int
JOB_MOVE_SPEED
The Constant JOB_MOVE_SPEED.static int
K_CORD
The Constant K_CORD.static int
LUBE_OFF
The Constant LUBE_OFF.static int
LUBE_ON
The Constant LUBE_ON.static int
N_BLOCK
The Constant N_BLOCK.static int
ROT_TOOL_ACW
The Constant ROT_TOOL_ACW.static int
ROT_TOOL_CW
The Constant ROT_TOOL_CW.static int
SCAN_ERROR
The Constant SCAN_ERROR.static int
STOP_TOOL
The Constant STOP_TOOL.static java.lang.String[]
tokenNames
The Constant tokenNames.static int
TOOL_CHANGE
The Constant TOOL_CHANGE.static int
WS
The Constant WS.static int
X_CORD
The Constant X_CORD.static int
Y_CORD
The Constant Y_CORD.static int
Z_CORD
The Constant Z_CORD. -
Constructor Summary
Constructors Constructor Description gcodeGrammarParser(java.lang.String fileIn)
Instantiates a new gcode grammar parser.gcodeGrammarParser(org.antlr.runtime.TokenStream input)
Instantiates a new gcode grammar parser.gcodeGrammarParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
Instantiates a new gcode grammar parser. -
Method Summary
Modifier and Type Method Description void
block()
Block.Coordinate
coordinate_IJK()
Coordinate IJK.Coordinate
coordinate_XYZ()
Coordinate XYZ.void
displayRecognitionError(java.lang.String[] tokenNames, org.antlr.runtime.RecognitionException e)
Display recognition error.void
gcode()
Gcode.org.antlr.runtime.Parser[]
getDelegates()
Gets the delegates.java.util.List<GCodeError>
getErrorList()
Gets the error list.java.lang.String
getGrammarFileName()
Gets the grammar file name.gcodeGrammarHandler
getHandler()
Gets the handler.java.lang.String[]
getTokenNames()
Gets the token names.java.util.ArrayList<InfoTecnologicheM>
info_3M()
Info 3 M.InfoGeometriche
info_geometriche()
Info geometriche.InfoTecnologiche
info_tecnologiche()
Info tecnologiche.InfoTecnologicheM
info_tecnologiche_M()
Info tecnologiche M.(package private) void
setup()
Setup.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
-
CHANGE_TOOL
public static final int CHANGE_TOOLThe Constant CHANGE_TOOL.- See Also:
- Constant Field Values
-
CIRCLE_ACW
public static final int CIRCLE_ACWThe Constant CIRCLE_ACW.- See Also:
- Constant Field Values
-
CIRCLE_CW
public static final int CIRCLE_CWThe Constant CIRCLE_CW.- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENTThe Constant COMMENT.- See Also:
- Constant Field Values
-
COMP_DIS
public static final int COMP_DISThe Constant COMP_DIS.- See Also:
- Constant Field Values
-
COMP_L
public static final int COMP_LThe Constant COMP_L.- See Also:
- Constant Field Values
-
COMP_R
public static final int COMP_RThe Constant COMP_R.- See Also:
- Constant Field Values
-
COORD_ABS
public static final int COORD_ABSThe Constant COORD_ABS.- See Also:
- Constant Field Values
-
COORD_REL
public static final int COORD_RELThe Constant COORD_REL.- See Also:
- Constant Field Values
-
CORD_DIGIT
public static final int CORD_DIGITThe Constant CORD_DIGIT.- See Also:
- Constant Field Values
-
DIGIT
public static final int DIGITThe Constant DIGIT.- See Also:
- Constant Field Values
-
END_PROG
public static final int END_PROGThe Constant END_PROG.- See Also:
- Constant Field Values
-
FREE_MOVE
public static final int FREE_MOVEThe Constant FREE_MOVE.- See Also:
- Constant Field Values
-
FREE_MOVE_SPEED
public static final int FREE_MOVE_SPEEDThe Constant FREE_MOVE_SPEED.- See Also:
- Constant Field Values
-
I_CORD
public static final int I_CORDThe Constant I_CORD.- See Also:
- Constant Field Values
-
JOB_MOVE
public static final int JOB_MOVEThe Constant JOB_MOVE.- See Also:
- Constant Field Values
-
JOB_MOVE_SPEED
public static final int JOB_MOVE_SPEEDThe Constant JOB_MOVE_SPEED.- See Also:
- Constant Field Values
-
J_CORD
public static final int J_CORDThe Constant J_CORD.- See Also:
- Constant Field Values
-
K_CORD
public static final int K_CORDThe Constant K_CORD.- See Also:
- Constant Field Values
-
LUBE_OFF
public static final int LUBE_OFFThe Constant LUBE_OFF.- See Also:
- Constant Field Values
-
LUBE_ON
public static final int LUBE_ONThe Constant LUBE_ON.- See Also:
- Constant Field Values
-
N_BLOCK
public static final int N_BLOCKThe Constant N_BLOCK.- See Also:
- Constant Field Values
-
ROT_TOOL_ACW
public static final int ROT_TOOL_ACWThe Constant ROT_TOOL_ACW.- See Also:
- Constant Field Values
-
ROT_TOOL_CW
public static final int ROT_TOOL_CWThe Constant ROT_TOOL_CW.- See Also:
- Constant Field Values
-
SCAN_ERROR
public static final int SCAN_ERRORThe Constant SCAN_ERROR.- See Also:
- Constant Field Values
-
STOP_TOOL
public static final int STOP_TOOLThe Constant STOP_TOOL.- See Also:
- Constant Field Values
-
TOOL_CHANGE
public static final int TOOL_CHANGEThe Constant TOOL_CHANGE.- 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
-
Z_CORD
public static final int Z_CORDThe Constant Z_CORD.- See Also:
- Constant Field Values
-
h
The h. -
FOLLOW_block_in_gcode72
public static final org.antlr.runtime.BitSet FOLLOW_block_in_gcode72The Constant FOLLOW_block_in_gcode72. -
FOLLOW_EOF_in_gcode76
public static final org.antlr.runtime.BitSet FOLLOW_EOF_in_gcode76The Constant FOLLOW_EOF_in_gcode76. -
FOLLOW_N_BLOCK_in_block100
public static final org.antlr.runtime.BitSet FOLLOW_N_BLOCK_in_block100The Constant FOLLOW_N_BLOCK_in_block100. -
FOLLOW_info_geometriche_in_block118
public static final org.antlr.runtime.BitSet FOLLOW_info_geometriche_in_block118The Constant FOLLOW_info_geometriche_in_block118. -
FOLLOW_info_3M_in_block155
public static final org.antlr.runtime.BitSet FOLLOW_info_3M_in_block155The Constant FOLLOW_info_3M_in_block155. -
FOLLOW_info_tecnologiche_in_block188
public static final org.antlr.runtime.BitSet FOLLOW_info_tecnologiche_in_block188The Constant FOLLOW_info_tecnologiche_in_block188. -
FOLLOW_info_3M_in_block201
public static final org.antlr.runtime.BitSet FOLLOW_info_3M_in_block201The Constant FOLLOW_info_3M_in_block201. -
FOLLOW_info_tecnologiche_in_block262
public static final org.antlr.runtime.BitSet FOLLOW_info_tecnologiche_in_block262The Constant FOLLOW_info_tecnologiche_in_block262. -
FOLLOW_info_3M_in_block275
public static final org.antlr.runtime.BitSet FOLLOW_info_3M_in_block275The Constant FOLLOW_info_3M_in_block275. -
FOLLOW_info_3M_in_block294
public static final org.antlr.runtime.BitSet FOLLOW_info_3M_in_block294The Constant FOLLOW_info_3M_in_block294. -
FOLLOW_info_tecnologiche_M_in_info_3M339
public static final org.antlr.runtime.BitSet FOLLOW_info_tecnologiche_M_in_info_3M339The Constant FOLLOW_info_tecnologiche_M_in_info_3M339. -
FOLLOW_info_tecnologiche_M_in_info_3M349
public static final org.antlr.runtime.BitSet FOLLOW_info_tecnologiche_M_in_info_3M349The Constant FOLLOW_info_tecnologiche_M_in_info_3M349. -
FOLLOW_info_tecnologiche_M_in_info_3M360
public static final org.antlr.runtime.BitSet FOLLOW_info_tecnologiche_M_in_info_3M360The Constant FOLLOW_info_tecnologiche_M_in_info_3M360. -
FOLLOW_COORD_ABS_in_info_geometriche389
public static final org.antlr.runtime.BitSet FOLLOW_COORD_ABS_in_info_geometriche389The Constant FOLLOW_COORD_ABS_in_info_geometriche389. -
FOLLOW_COORD_REL_in_info_geometriche400
public static final org.antlr.runtime.BitSet FOLLOW_COORD_REL_in_info_geometriche400The Constant FOLLOW_COORD_REL_in_info_geometriche400. -
FOLLOW_FREE_MOVE_in_info_geometriche411
public static final org.antlr.runtime.BitSet FOLLOW_FREE_MOVE_in_info_geometriche411The Constant FOLLOW_FREE_MOVE_in_info_geometriche411. -
FOLLOW_coordinate_XYZ_in_info_geometriche417
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_XYZ_in_info_geometriche417The Constant FOLLOW_coordinate_XYZ_in_info_geometriche417. -
FOLLOW_JOB_MOVE_in_info_geometriche428
public static final org.antlr.runtime.BitSet FOLLOW_JOB_MOVE_in_info_geometriche428The Constant FOLLOW_JOB_MOVE_in_info_geometriche428. -
FOLLOW_coordinate_XYZ_in_info_geometriche434
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_XYZ_in_info_geometriche434The Constant FOLLOW_coordinate_XYZ_in_info_geometriche434. -
FOLLOW_CIRCLE_CW_in_info_geometriche446
public static final org.antlr.runtime.BitSet FOLLOW_CIRCLE_CW_in_info_geometriche446The Constant FOLLOW_CIRCLE_CW_in_info_geometriche446. -
FOLLOW_coordinate_XYZ_in_info_geometriche452
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_XYZ_in_info_geometriche452The Constant FOLLOW_coordinate_XYZ_in_info_geometriche452. -
FOLLOW_coordinate_IJK_in_info_geometriche458
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_IJK_in_info_geometriche458The Constant FOLLOW_coordinate_IJK_in_info_geometriche458. -
FOLLOW_CIRCLE_ACW_in_info_geometriche469
public static final org.antlr.runtime.BitSet FOLLOW_CIRCLE_ACW_in_info_geometriche469The Constant FOLLOW_CIRCLE_ACW_in_info_geometriche469. -
FOLLOW_coordinate_XYZ_in_info_geometriche475
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_XYZ_in_info_geometriche475The Constant FOLLOW_coordinate_XYZ_in_info_geometriche475. -
FOLLOW_coordinate_IJK_in_info_geometriche481
public static final org.antlr.runtime.BitSet FOLLOW_coordinate_IJK_in_info_geometriche481The Constant FOLLOW_coordinate_IJK_in_info_geometriche481. -
FOLLOW_COMP_DIS_in_info_geometriche492
public static final org.antlr.runtime.BitSet FOLLOW_COMP_DIS_in_info_geometriche492The Constant FOLLOW_COMP_DIS_in_info_geometriche492. -
FOLLOW_COMP_L_in_info_geometriche503
public static final org.antlr.runtime.BitSet FOLLOW_COMP_L_in_info_geometriche503The Constant FOLLOW_COMP_L_in_info_geometriche503. -
FOLLOW_COMP_R_in_info_geometriche514
public static final org.antlr.runtime.BitSet FOLLOW_COMP_R_in_info_geometriche514The Constant FOLLOW_COMP_R_in_info_geometriche514. -
FOLLOW_X_CORD_in_coordinate_XYZ543
public static final org.antlr.runtime.BitSet FOLLOW_X_CORD_in_coordinate_XYZ543The Constant FOLLOW_X_CORD_in_coordinate_XYZ543. -
FOLLOW_Y_CORD_in_coordinate_XYZ550
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_coordinate_XYZ550The Constant FOLLOW_Y_CORD_in_coordinate_XYZ550. -
FOLLOW_Z_CORD_in_coordinate_XYZ559
public static final org.antlr.runtime.BitSet FOLLOW_Z_CORD_in_coordinate_XYZ559The Constant FOLLOW_Z_CORD_in_coordinate_XYZ559. -
FOLLOW_Y_CORD_in_coordinate_XYZ571
public static final org.antlr.runtime.BitSet FOLLOW_Y_CORD_in_coordinate_XYZ571The Constant FOLLOW_Y_CORD_in_coordinate_XYZ571. -
FOLLOW_Z_CORD_in_coordinate_XYZ578
public static final org.antlr.runtime.BitSet FOLLOW_Z_CORD_in_coordinate_XYZ578The Constant FOLLOW_Z_CORD_in_coordinate_XYZ578. -
FOLLOW_Z_CORD_in_coordinate_XYZ589
public static final org.antlr.runtime.BitSet FOLLOW_Z_CORD_in_coordinate_XYZ589The Constant FOLLOW_Z_CORD_in_coordinate_XYZ589. -
FOLLOW_I_CORD_in_coordinate_IJK621
public static final org.antlr.runtime.BitSet FOLLOW_I_CORD_in_coordinate_IJK621The Constant FOLLOW_I_CORD_in_coordinate_IJK621. -
FOLLOW_J_CORD_in_coordinate_IJK628
public static final org.antlr.runtime.BitSet FOLLOW_J_CORD_in_coordinate_IJK628The Constant FOLLOW_J_CORD_in_coordinate_IJK628. -
FOLLOW_K_CORD_in_coordinate_IJK637
public static final org.antlr.runtime.BitSet FOLLOW_K_CORD_in_coordinate_IJK637The Constant FOLLOW_K_CORD_in_coordinate_IJK637. -
FOLLOW_J_CORD_in_coordinate_IJK648
public static final org.antlr.runtime.BitSet FOLLOW_J_CORD_in_coordinate_IJK648The Constant FOLLOW_J_CORD_in_coordinate_IJK648. -
FOLLOW_K_CORD_in_coordinate_IJK655
public static final org.antlr.runtime.BitSet FOLLOW_K_CORD_in_coordinate_IJK655The Constant FOLLOW_K_CORD_in_coordinate_IJK655. -
FOLLOW_K_CORD_in_coordinate_IJK666
public static final org.antlr.runtime.BitSet FOLLOW_K_CORD_in_coordinate_IJK666The Constant FOLLOW_K_CORD_in_coordinate_IJK666. -
FOLLOW_FREE_MOVE_SPEED_in_info_tecnologiche696
public static final org.antlr.runtime.BitSet FOLLOW_FREE_MOVE_SPEED_in_info_tecnologiche696The Constant FOLLOW_FREE_MOVE_SPEED_in_info_tecnologiche696. -
FOLLOW_JOB_MOVE_SPEED_in_info_tecnologiche707
public static final org.antlr.runtime.BitSet FOLLOW_JOB_MOVE_SPEED_in_info_tecnologiche707The Constant FOLLOW_JOB_MOVE_SPEED_in_info_tecnologiche707. -
FOLLOW_TOOL_CHANGE_in_info_tecnologiche718
public static final org.antlr.runtime.BitSet FOLLOW_TOOL_CHANGE_in_info_tecnologiche718The Constant FOLLOW_TOOL_CHANGE_in_info_tecnologiche718. -
FOLLOW_ROT_TOOL_CW_in_info_tecnologiche_M744
public static final org.antlr.runtime.BitSet FOLLOW_ROT_TOOL_CW_in_info_tecnologiche_M744The Constant FOLLOW_ROT_TOOL_CW_in_info_tecnologiche_M744. -
FOLLOW_ROT_TOOL_ACW_in_info_tecnologiche_M754
public static final org.antlr.runtime.BitSet FOLLOW_ROT_TOOL_ACW_in_info_tecnologiche_M754The Constant FOLLOW_ROT_TOOL_ACW_in_info_tecnologiche_M754. -
FOLLOW_STOP_TOOL_in_info_tecnologiche_M764
public static final org.antlr.runtime.BitSet FOLLOW_STOP_TOOL_in_info_tecnologiche_M764The Constant FOLLOW_STOP_TOOL_in_info_tecnologiche_M764. -
FOLLOW_CHANGE_TOOL_in_info_tecnologiche_M774
public static final org.antlr.runtime.BitSet FOLLOW_CHANGE_TOOL_in_info_tecnologiche_M774The Constant FOLLOW_CHANGE_TOOL_in_info_tecnologiche_M774. -
FOLLOW_LUBE_ON_in_info_tecnologiche_M784
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_ON_in_info_tecnologiche_M784The Constant FOLLOW_LUBE_ON_in_info_tecnologiche_M784. -
FOLLOW_LUBE_OFF_in_info_tecnologiche_M794
public static final org.antlr.runtime.BitSet FOLLOW_LUBE_OFF_in_info_tecnologiche_M794The Constant FOLLOW_LUBE_OFF_in_info_tecnologiche_M794. -
FOLLOW_END_PROG_in_info_tecnologiche_M804
public static final org.antlr.runtime.BitSet FOLLOW_END_PROG_in_info_tecnologiche_M804The Constant FOLLOW_END_PROG_in_info_tecnologiche_M804.
-
-
Constructor Details
-
gcodeGrammarParser
public gcodeGrammarParser(org.antlr.runtime.TokenStream input)Instantiates a new gcode grammar parser.- Parameters:
input
- the input
-
gcodeGrammarParser
public gcodeGrammarParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)Instantiates a new gcode grammar parser.- Parameters:
input
- the inputstate
- the state
-
gcodeGrammarParser
public gcodeGrammarParser(java.lang.String fileIn) throws java.io.IOExceptionInstantiates a new gcode grammar parser.- Parameters:
fileIn
- the file in- Throws:
java.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
-
gcode
public final void gcode() throws org.antlr.runtime.RecognitionExceptionGcode.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
block
public final void block() throws org.antlr.runtime.RecognitionExceptionBlock.- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
info_3M
public final java.util.ArrayList<InfoTecnologicheM> info_3M() throws org.antlr.runtime.RecognitionExceptionInfo 3 M.- Returns:
- the array list
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
info_geometriche
Info geometriche.- Returns:
- the info geometriche
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
coordinate_XYZ
Coordinate XYZ.- Returns:
- the coordinate
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
coordinate_IJK
Coordinate IJK.- Returns:
- the coordinate
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
info_tecnologiche
Info tecnologiche.- Returns:
- the info tecnologiche
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-
info_tecnologiche_M
Info tecnologiche M.- Returns:
- the info tecnologiche M
- Throws:
org.antlr.runtime.RecognitionException
- the recognition exception
-