Package org.javacc.parser
Class Lookahead
java.lang.Object
org.javacc.parser.Expansion
org.javacc.parser.Lookahead
Describes lookahead rule for a particular expansion or expansion
sequence (See Sequence.java). In case this describes the lookahead
rule for a single expansion unit, then a sequence is created with
this node as the first element, and the expansion unit as the second
and last element.
-
Field Summary
Fields inherited from class org.javacc.parser.Expansion
eol, inMinimumSize, myGeneration, nextGenerationIndex, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidsetAmount(int amount) voidsetExplicit(boolean isExplicit) voidsetLaExpansion(Expansion la_expansion) Methods inherited from class org.javacc.parser.Expansion
dumpPrefix, getProductionName, hashCode, reInit, toString
-
Constructor Details
-
Lookahead
public Lookahead()
-
-
Method Details
-
dump
-
getActionTokens
- Returns:
- the action_tokens
-
setAmount
public void setAmount(int amount) - Parameters:
amount- the amount to set
-
getAmount
public int getAmount()- Returns:
- the amount
-
setLaExpansion
- Parameters:
la_expansion- the la_expansion to set
-
getLaExpansion
- Returns:
- the la_expansion
-
setExplicit
public void setExplicit(boolean isExplicit) - Parameters:
isExplicit- the isExplicit to set
-
isExplicit
public boolean isExplicit()- Returns:
- the isExplicit
-