예제 #1
0
            public override Graphken CreateGraphken()
            {
                Graphken inner = Inner.CreateGraphken();
                Graphken wrap  = inner.Wrap();

                wrap.EndNode.AddEpsilonTo(wrap.StartNode);
                return(wrap);
            }
예제 #2
0
            public override Graphken CreateGraphken()
            {
                Graphken inner = Inner.CreateGraphken();

                inner.EndNode.AddEpsilonTo(inner.StartNode);
                Graphken loop = new Graphken(inner.StartNode, inner.StartNode);
                Graphken wrap = loop.Wrap();

                return(wrap);
            }