private void cloneouts ( Nfa nfa , State old , State from , State to , int type ) { Arc a ; assert old != from ; for ( a = old . outs ; a != null ; a = a . outchain ) { nfa . newarc ( type , a . co , from , to ) ; } }
cloneouts - copy out arcs of a state to another state pair modifying type