protected static class NfaToProduction.ElementAlias<T> extends NfaToProduction.AbstractElementAlias<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
element |
many, optional| Constructor and Description |
|---|
ElementAlias(boolean optional,
boolean many,
T element) |
ElementAlias(T element) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<NfaToProduction.AbstractElementAlias<T>> |
getChildren() |
T |
getElement() |
protected int |
getElementCount() |
protected T |
getFirstElement() |
protected void |
sort(java.util.Comparator<? super NfaToProduction.AbstractElementAlias<T>> comparator) |
isMany, isOne, isOptional, setMany, setOptional, toStringprotected T element
public ElementAlias(boolean optional,
boolean many,
T element)
public ElementAlias(T element)
public T getElement()
protected int getElementCount()
getElementCount in class NfaToProduction.AbstractElementAlias<T>protected void sort(java.util.Comparator<? super NfaToProduction.AbstractElementAlias<T>> comparator)
sort in class NfaToProduction.AbstractElementAlias<T>protected T getFirstElement()
getFirstElement in class NfaToProduction.AbstractElementAlias<T>public java.util.Collection<NfaToProduction.AbstractElementAlias<T>> getChildren()
getChildren in class NfaToProduction.AbstractElementAlias<T>