コード例 #1
0
ファイル: LexerBase.cs プロジェクト: EkardNT/Roslyn
 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];
 }