org.eclipse.xtext.util.formallang
Class NfaUtil.NFAFactory<S>

java.lang.Object
  extended by org.eclipse.xtext.util.formallang.NfaUtil.NFAFactory<S>
All Implemented Interfaces:
NfaFactory<Nfa<S>,S,S>
Enclosing class:
NfaUtil

public static class NfaUtil.NFAFactory<S>
extends java.lang.Object
implements NfaFactory<Nfa<S>,S,S>


Constructor Summary
NfaUtil.NFAFactory()
           
 
Method Summary
 Nfa<S> create(S start, S stop)
           
 S createState(Nfa<S> nfa, S token)
           
 void setFollowers(Nfa<S> nfa, S owner, java.lang.Iterable<S> followers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NfaUtil.NFAFactory

public NfaUtil.NFAFactory()
Method Detail

create

public Nfa<S> create(S start,
                     S stop)
Specified by:
create in interface NfaFactory<Nfa<S>,S,S>

createState

public S createState(Nfa<S> nfa,
                     S token)
Specified by:
createState in interface NfaFactory<Nfa<S>,S,S>

setFollowers

public void setFollowers(Nfa<S> nfa,
                         S owner,
                         java.lang.Iterable<S> followers)
Specified by:
setFollowers in interface NfaFactory<Nfa<S>,S,S>