Example #1
0
        public override Automata CreateAutomata(BuildDFA buildDfa)
        {
            var head = buildDfa.AddState();
            var tail = buildDfa.AddState();

            buildDfa.AddEdge(head, tail, m_characterSet);

            HandleKleen(buildDfa, head, tail);

            return(new Automata
            {
                Head = head,
                Tail = tail
            });
        }