Method YyReset
YyReset(TextReader)
Resets the scanner to read from a new input stream. Does not close the old reader.
All internal variables are reset, the old input stream cannot be reused (internal buffer is discarded and lost). Lexical state is set to YYINITIAL.
Internal scan buffer is resized down to its initial length, if it has grown.
Declaration
public void YyReset(TextReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | reader | the new input stream |