Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new <see cref="CppTextReader"/>.
 /// </summary>
 /// <param name="reader">The reader to read characters from.</param>
 public CppTextReader(TextReader reader)
     : this(reader.AsCharEnumerable())
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Same as <see cref="Process(IEnumerable{char})"/>.
 /// </summary>
 public static IEnumerable <PositionedChar> Process(TextReader reader) => Process(reader.AsCharEnumerable());