Class NonTerminal
java.lang.Object
org.javacc.parser.Expansion
org.javacc.parser.NonTerminal
Describes non terminals.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of all tokens in the argument list.The LHS to which the return value of the non-terminal is assigned.private StringThe name of the non-terminal.private NormalProductionThe production this non-terminal corresponds to.Fields inherited from class Expansion
eol, inMinimumSize, myGeneration, ordinal, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()final NormalProductiongetProd()voidsetArgumentTokens(List<Token> parametrized_type__tokens) voidsetLhsTokens(List<Token> lhsTokens) voidvoidsetParametrizedTypeTokens(List<Token> argument_tokens) final NormalProductionsetProd(NormalProduction prod) Methods inherited from class Expansion
dumpPrefix, getColumn, getLine, getProductionName, hashCode, setColumn, setLine, toString
-
Field Details
-
lhsTokens
-
name
The name of the non-terminal. -
argument_tokens
-
parametrized_type__tokens
-
prod
The production this non-terminal corresponds to.
-
-
Constructor Details
-
NonTerminal
public NonTerminal()
-
-
Method Details