org.eclipse.xtext.util.formallang
Class NfaToProduction.ElementAlias<T>

java.lang.Object
  extended by org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias<T>
      extended by org.eclipse.xtext.util.formallang.NfaToProduction.ElementAlias<T>
Enclosing class:
NfaToProduction

protected static class NfaToProduction.ElementAlias<T>
extends NfaToProduction.AbstractElementAlias<T>


Field Summary
protected  T element
           
 
Fields inherited from class org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias
many, optional
 
Constructor Summary
NfaToProduction.ElementAlias(boolean optional, boolean many, T element)
           
NfaToProduction.ElementAlias(T element)
           
 
Method Summary
 T getElement()
           
protected  int getElementCount()
           
 
Methods inherited from class org.eclipse.xtext.util.formallang.NfaToProduction.AbstractElementAlias
isMany, isOne, isOptional, setMany, setOptional, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

element

protected T element
Constructor Detail

NfaToProduction.ElementAlias

public NfaToProduction.ElementAlias(boolean optional,
                                    boolean many,
                                    T element)

NfaToProduction.ElementAlias

public NfaToProduction.ElementAlias(T element)
Method Detail

getElement

public T getElement()

getElementCount

protected int getElementCount()
Specified by:
getElementCount in class NfaToProduction.AbstractElementAlias<T>