Mercurial > pub > ImplabNet
diff Implab/Formats/ScannerContext.cs @ 177:a0ff6a0e9c44 ref20160224
refactoring
author | cin |
---|---|
date | Wed, 23 Mar 2016 01:42:00 +0300 |
parents | 0c3c69fe225b |
children |
line wrap: on
line diff
--- a/Implab/Formats/ScannerContext.cs Tue Mar 22 18:58:40 2016 +0300 +++ b/Implab/Formats/ScannerContext.cs Wed Mar 23 01:42:00 2016 +0300 @@ -1,11 +1,17 @@ -using System; - -namespace Implab.Formats { +namespace Implab.Formats { + /// <summary> + /// Represents a scanner configuration usefull to recongnize token, based on the DFA. + /// </summary> public class ScannerContext<TTag> { + public int[,] Dfa { get; private set; } + public bool[] Final { get; private set; } + public TTag[][] Tags { get; private set; } + public int State { get; private set; } + public int[] Alphabet { get; private set; } public ScannerContext(int[,] dfa, bool[] final, TTag[][] tags, int state, int[] alphabet) {