Class BNFProduction
java.lang.Object
org.javacc.parser.Expansion
org.javacc.parser.NormalProduction
org.javacc.parser.BNFProduction
Describes BNF productions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe declarations of this production.private booleanThis flag keeps track of whether or not return and throw statements have been patched within this production's actions to include a preceding "if (true)".Fields inherited from class NormalProduction
leIndexFields inherited from class Expansion
inMinimumSize, myGeneration, ordinal, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class NormalProduction
dump, dumpPrefix, getAccessMod, getExpansion, getFirstToken, getLastToken, getLeftExpansions, getLhs, getParameterListTokens, getParents, getReturnTypeTokens, getSimpleName, getThrowsList, getWalkStatus, isEmptyPossible, setAccessMod, setEmptyPossible, setExpansion, setFirstToken, setLastToken, setLeftExpansions, setLhs, setThrowsList, setWalkStatus
-
Field Details
-
declaration_tokens
-
jumpPatched
private boolean jumpPatchedThis flag keeps track of whether or not return and throw statements have been patched within this production's actions to include a preceding "if (true)".
-
-
Constructor Details
-
BNFProduction
public BNFProduction()
-
-
Method Details
-
getDeclarationTokens
-
isJumpPatched
public final boolean isJumpPatched()- Returns:
- the jumpPatched
-
setJumpPatched
public final void setJumpPatched(boolean jumpPatched) - Parameters:
jumpPatched- the jumpPatched to set
-