public override void Build(Nfa nfa) { Nfa sub = new Nfa(nfa.m_tks, m_sub); nfa.AddEps(sub); nfa.AddEps(nfa.m_end); sub.m_end.AddEps(nfa); }
public override void Build(Nfa nfa) { Nfa nfa1 = new Nfa(nfa.m_tks, this.m_sub); nfa.AddEps((NfaNode)nfa1); nfa.AddEps(nfa.m_end); nfa1.m_end.AddEps((NfaNode)nfa); }
public virtual void Build(Nfa nfa) { if (m_sub != null) { Nfa sub = new Nfa(nfa.m_tks, m_sub); nfa.AddEps(sub); sub.m_end.AddEps(nfa.m_end); } else { nfa.AddEps(nfa.m_end); } }
public virtual void Build(Nfa nfa) { if (this.m_sub != null) { Nfa nfa1 = new Nfa(nfa.m_tks, this.m_sub); nfa.AddEps((NfaNode)nfa1); nfa1.m_end.AddEps(nfa.m_end); } else { nfa.AddEps(nfa.m_end); } }
public override void Build(Nfa nfa) { if (m_alt != null) { Nfa alt = new Nfa(nfa.m_tks, m_alt); nfa.AddEps(alt); alt.m_end.AddEps(nfa.m_end); } base.Build(nfa); }
public override void Build(Nfa nfa) { if (this.m_alt != null) { Nfa nfa1 = new Nfa(nfa.m_tks, this.m_alt); nfa.AddEps((NfaNode)nfa1); nfa1.m_end.AddEps(nfa.m_end); } base.Build(nfa); }
public override void Build(Nfa nfa) { if (m_next != null) { if (m_sub != null) { Nfa first = new Nfa(nfa.m_tks, m_sub); Nfa second = new Nfa(nfa.m_tks, m_next); nfa.AddEps(first); first.m_end.AddEps(second); second.m_end.AddEps(nfa.m_end); } else { m_next.Build(nfa); } } else { base.Build(nfa); } }
public override void Build(Nfa nfa) { if (this.m_next != null) { if (this.m_sub != null) { Nfa nfa1 = new Nfa(nfa.m_tks, this.m_sub); Nfa nfa2 = new Nfa(nfa.m_tks, this.m_next); nfa.AddEps((NfaNode)nfa1); nfa1.m_end.AddEps((NfaNode)nfa2); nfa2.m_end.AddEps(nfa.m_end); } else { this.m_next.Build(nfa); } } else { base.Build(nfa); } }
/// <exclude/> public virtual void Build(Nfa nfa) { if (m_sub!=null) { Nfa sub = new Nfa(nfa.m_tks,m_sub); nfa.AddEps(sub); sub.m_end.AddEps(nfa.m_end); } else nfa.AddEps(nfa.m_end); }
public override void Build(Nfa nfa) { Nfa sub = new Nfa(nfa.m_tks,m_sub); nfa.AddEps(sub); nfa.AddEps(nfa.m_end); sub.m_end.AddEps(nfa); }
public override void Build(Nfa nfa) { nfa.AddEps(nfa.m_end); base.Build(nfa); }
/// <exclude/> public override void Build(Nfa nfa) { if (m_next!=null) { if (m_sub!=null) { Nfa first = new Nfa(nfa.m_tks,m_sub); Nfa second = new Nfa(nfa.m_tks,m_next); nfa.AddEps(first); first.m_end.AddEps(second); second.m_end.AddEps(nfa.m_end); } else m_next.Build(nfa); } else base.Build(nfa); }
/// <exclude/> public override void Build(Nfa nfa) { if (m_alt!=null) { Nfa alt = new Nfa(nfa.m_tks,m_alt); nfa.AddEps(alt); alt.m_end.AddEps(nfa.m_end); } base.Build(nfa); }
public override void Build(Nfa nfa) { nfa.AddEps(nfa.m_end); base.Build(nfa); }