Ejemplo n.º 1
0
 public DebugTokenEnumerator(CharFA lexer, IDictionary <string, int> symbolIds, IDictionary <string, string> blockEnds, IEnumerable <char> @string)
 {
     _lexer         = lexer;
     _symbolIds     = symbolIds;
     _blockEnds     = blockEnds;
     _input         = @string.GetEnumerator();
     _buffer        = new StringBuilder();
     _initialStates = _lexer.FillEpsilonClosure();
     _state         = -1;
     _line          = 1;
     _column        = 1;
     _position      = 0;
 }