SetText() public method

public SetText ( string text, int offset, bool keepLineNumbering ) : void
text string
offset int
keepLineNumbering bool
return void
Exemplo n.º 1
0
 //Utilities
 public void TryMatch(string input) {
   SourceStream source = new SourceStream(_language.ScannerData, 0);
   source.SetText(input, 0, false);
   _token = _terminal.TryMatch(_context, source);
 }
Exemplo n.º 2
0
 public void VsSetSource(string text, int offset)
 {
     SourceStream.SetText(text, offset, true);
 }