示例#1
0
 public virtual void Dispose()
 {
     reader.Close();
     reader    = null;
     lastToken = curToken = peekToken = null;
     sb        = originalValue = null;
 }
示例#2
0
 /// <summary>
 /// Constructor for the abstract lexer class.
 /// </summary>
 protected AbstractLexer(TextReader reader)
 {
     this.reader = new LATextReader(reader);
 }