protected Epa OneConstructorNoActionsEpa() { var constructors = new HashSet <Action>(); var constructor = new StringAction("ctor"); constructors.Add(constructor); var actions = new HashSet <Action>(); var typeDefinition = new StringTypeDefinition("OneConstructorNoActionsEpa", constructors, actions); var transitions = new HashSet <Transition>(); var s1 = new State(constructors, new HashSet <Action>()); var s2 = new State(new HashSet <Action>(), new HashSet <Action>()); transitions.Add(new Transition(constructor, s1, s2, false)); return(new Epa(typeDefinition, transitions.ToList())); }
public bool Equals(StringAction other) { return(name.Equals(other.name)); }