Exemplo n.º 1
0
 public TokenizerException(string msg, PositionalTextReader reader)
     : this(msg, reader.Source, reader.LineNumber, reader.ColumnNumber)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Creates a positional text reader from
 ///     a TextReader
 /// </summary>
 /// <param name="text">Text to be read</param>
 public Tokenizer(TextReader text)
 {
     _reader = new PositionalTextReader(text, text.GetType().Name);
     NextChar();
 }