public NFA(NFAState entry, NFAState exit, RegExType type) { this.entry = entry; this.exit = exit; this.type = type; }
public NFAState(RegExType type) { ID++; instanceID = ID; this.type = type; }
protected RegExNode(RegExType regExType) { RegExType = regExType; }