Mercurial > pub > ImplabNet
diff Implab/Automaton/DFAStateDescriptor.cs @ 172:92d5278d1b10 ref20160224
Working on text scanner
author | cin |
---|---|
date | Mon, 14 Mar 2016 01:19:38 +0300 |
parents | 54270c2f29f2 |
children |
line wrap: on
line diff
--- a/Implab/Automaton/DFAStateDescriptor.cs Thu Mar 10 01:19:33 2016 +0300 +++ b/Implab/Automaton/DFAStateDescriptor.cs Mon Mar 14 01:19:38 2016 +0300 @@ -1,18 +1,18 @@ namespace Implab.Automaton { - public struct DFAStateDescriptior { + public struct DFAStateDescriptor { public readonly bool final; public readonly int[] transitions; - public DFAStateDescriptior(int[] transitions, bool final) { + public DFAStateDescriptor(int[] transitions, bool final) { this.transitions = transitions; this.final = final; } - public DFAStateDescriptior(int[] transitions) : this(transitions, false) { + public DFAStateDescriptor(int[] transitions) : this(transitions, false) { } - public DFAStateDescriptior(int size, bool final) { + public DFAStateDescriptor(int size, bool final) { Safe.ArgumentInRange(size, 0, int.MaxValue, "size"); this.final = final;