/// <summary>Clear the buffer. Replace the current stream with a new one.</summary>
        public void Reset(TextReader reader, MathSystem system)
        {
            if (system == null)
            {
                throw new ArgumentNullException("system");
            }
            if (reader == null)
            {
                throw new ArgumentNullException("reader");
            }

            this.system  = system;
            this.context = system.Context;
            tokenizer.Reset(reader, context);
        }
Esempio n. 2
0
 /// <summary>Clear the buffer. Replace the current stream with a new one.</summary>
 public void Reset(TextReader reader, MathSystem system)
 {
     this.system  = system;
     this.context = system.Context;
     tokenizer.Reset(reader, context);
 }