view Implab/Formats/RegularCharDFADefinition.cs @ 169:54270c2f29f2 ref20160224

DFA refactoring
author cin
date Thu, 03 Mar 2016 08:41:02 +0300
parents e227e78d72e4
children
line wrap: on
line source

using System;
using Implab.Automaton.RegularExpressions;

namespace Implab.Formats {
    public class RegularCharDFADefinition<TTag> : RegularDFADefinition<char,TTag>  {
        readonly CharAlphabet m_alphabet;

        public RegularCharDFADefinition(CharAlphabet alphabet) : base(alphabet) {
            m_alphabet = alphabet;
        }

        public new CharAlphabet InputAlphabet {
            get { return m_alphabet; }
        }
    }
}