org.javacc.parser.ZeroOrOne.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
ZeroOrOne
org.javacc.parser
Class ZeroOrOne
- java.lang.Object
-
- org.javacc.parser.Expansion
-
- org.javacc.parser.ZeroOrOne
-
public class ZeroOrOne
extends Expansion
Describes zero-or-one expansions (e.g., [foo], foo?).
-
-
Field Summary
Fields
Modifier and Type
Field and Description
Expansion
expansion
The expansion which is repeated zero or one times.
-
Fields inherited from class org.javacc.parser.Expansion
eol, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
Constructor Summary
Constructors
Constructor and Description
ZeroOrOne()
ZeroOrOne(Token t,
Expansion e)
-
-
Field Detail
-
expansion
public Expansion expansion
The expansion which is repeated zero or one times.