public CstTransition(CstStateName startStateName, CstSymbol token, CstStateName endStateName) { StartStateName = startStateName; Token = token; EndStateName = endStateName; IsEpsilon = false; }
public CstDeclaration(CstIdentity identity, IList <CstStateName> states, CstStateName initialStateName, IList <CstStateName> finals, IList <CstTransition> trancitions) { Identity = identity; States = states == null ? null : new ReadOnlyCollection <CstStateName>(states); InitialStateName = initialStateName; Finals = new ReadOnlyCollection <CstStateName>(finals); Trancitions = new ReadOnlyCollection <CstTransition>(trancitions); }
public CstTransition(CstStateName startStateName, CstStateName endStateName) { StartStateName = startStateName; EndStateName = endStateName; IsEpsilon = true; }
protected bool Equals(CstStateName other) { return(Name == other.Name); }