Mercurial > pub > ImplabNet
diff Implab/JSON/JSONGrammar.cs @ 156:97fbbf816844 v2
Promises: SignalXXX methods merged into SignalHandler method.
Components: RunnableComponent In progress
author | cin |
---|---|
date | Mon, 15 Feb 2016 04:22:15 +0300 |
parents | d67b95eddaf4 |
children |
line wrap: on
line diff
--- a/Implab/JSON/JSONGrammar.cs Fri Feb 12 16:24:24 2016 +0300 +++ b/Implab/JSON/JSONGrammar.cs Mon Feb 15 04:22:15 2016 +0300 @@ -1,13 +1,9 @@ using Implab.Parsing; -using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Implab.JSON { - internal class JSONGrammar : Grammar<JSONGrammar> { - public enum TokenType : int { + class JSONGrammar : Grammar<JSONGrammar> { + public enum TokenType { None, BeginObject, EndObject,