Package org.javacc.parser
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 org.javacc.parser.NormalProduction
leIndexFields inherited from class org.javacc.parser.Expansion
inMinimumSize, myGeneration, ordinal, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.javacc.parser.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
The declarations of this production. -
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
- Returns:
- the declaration_tokens
-
isJumpPatched
public final boolean isJumpPatched()- Returns:
- the jumpPatched
-
setJumpPatched
public final void setJumpPatched(boolean jumpPatched) - Parameters:
jumpPatched- the jumpPatched to set
-