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 Telement-
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()TgetElement()protected intgetElementCount()protected TgetFirstElement()protected voidsort(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:
getElementCountin classNfaToProduction.AbstractElementAlias<T>
-
sort
protected void sort(java.util.Comparator<? super NfaToProduction.AbstractElementAlias<T>> comparator)
- Specified by:
sortin classNfaToProduction.AbstractElementAlias<T>
-
getFirstElement
protected T getFirstElement()
- Specified by:
getFirstElementin classNfaToProduction.AbstractElementAlias<T>
-
getChildren
public java.util.Collection<NfaToProduction.AbstractElementAlias<T>> getChildren()
- Specified by:
getChildrenin classNfaToProduction.AbstractElementAlias<T>
-
-