Пример #1
0
 public LexerBase(IText text, LexerBaseCache cache)
 {
     Debug.Assert(cache != null);
     this.text = text;
     this.basis = 0;
     this.start = 0;
     this.offset = 0;
     this.textEnd = text.Length;
     this.cache = cache;
     this.chars = new char[DefaultWindowLength];
 }
Пример #2
0
 public LexerBase(IText text, LexerBaseCache cache)
 {
     Debug.Assert(cache != null);
     this.text    = text;
     this.basis   = 0;
     this.start   = 0;
     this.offset  = 0;
     this.textEnd = text.Length;
     this.cache   = cache;
     this.chars   = new char[DefaultWindowLength];
 }