Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Lexer"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 protected Lexer(string value)
 {
     this.buffer = new CharBuffer(value);
     this.states = new Stack<int>();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Lexer"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 protected Lexer(string value)
 {
     this.buffer = new CharBuffer(value);
     this.states = new Stack <int>();
 }