public TokenizerException(string msg, PositionalTextReader reader) : this(msg, reader.Source, reader.LineNumber, reader.ColumnNumber) { }
/// <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(); }