Class NfaToProduction.ElementAlias<T>
- java.lang.Object
-
- org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias<T>
-
- org.eclipse.xtext.util.formallang.NfaToProduction.ElementAlias<T>
-
- Enclosing class:
- NfaToProduction
protected static class NfaToProduction.ElementAlias<T> extends NfaToProduction.AbstractElementAlias<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected T
element
-
Fields inherited from class org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias
many, optional
-
-
Constructor Summary
Constructors Constructor Description ElementAlias(boolean optional, boolean many, T element)
ElementAlias(T element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias
isMany, isOne, isOptional, setMany, setOptional, toString
-
-
-
-
Field Detail
-
element
protected T element
-
-
Method Detail
-
getElement
public T getElement()
-
getElementCount
protected int getElementCount()
- Specified by:
getElementCount
in classNfaToProduction.AbstractElementAlias<T>
-
sort
protected void sort(java.util.Comparator<? super NfaToProduction.AbstractElementAlias<T>> comparator)
- Specified by:
sort
in classNfaToProduction.AbstractElementAlias<T>
-
getFirstElement
protected T getFirstElement()
- Specified by:
getFirstElement
in classNfaToProduction.AbstractElementAlias<T>
-
getChildren
public java.util.Collection<NfaToProduction.AbstractElementAlias<T>> getChildren()
- Specified by:
getChildren
in classNfaToProduction.AbstractElementAlias<T>
-
-