Mercurial > pub > ImplabNet
comparison Implab/Parsing/DFAutomaton.cs @ 62:62b440d46313
Added Skip method to JSON parser to skip contents of the current node
author | cin |
---|---|
date | Sun, 22 Jun 2014 04:14:02 +0400 |
parents | c0bf853aa04f |
children | 97fbbf816844 |
comparison
equal
deleted
inserted
replaced
61:90069a2ec20a | 62:62b440d46313 |
---|---|
18 public const int UNREACHEBLE_STATE = DFADefinitionBase.UNREACHEBLE_STATE; | 18 public const int UNREACHEBLE_STATE = DFADefinitionBase.UNREACHEBLE_STATE; |
19 | 19 |
20 protected ContextFrame m_context; | 20 protected ContextFrame m_context; |
21 Stack<ContextFrame> m_contextStack = new Stack<ContextFrame>(); | 21 Stack<ContextFrame> m_contextStack = new Stack<ContextFrame>(); |
22 | 22 |
23 public int Level { | 23 protected int Level { |
24 get { return m_contextStack.Count; } | 24 get { return m_contextStack.Count; } |
25 } | 25 } |
26 | 26 |
27 protected DFAutomaton(DFAStateDescriptior[] states, int startState, T info) { | 27 protected DFAutomaton(DFAStateDescriptior[] states, int startState, T info) { |
28 Safe.ArgumentNotNull(states, "states"); | 28 Safe.ArgumentNotNull(states, "states"); |