Esempio n. 1
0
 public string GetExceptionRangeText(TokenizerFrame startFrame = null)
 {
     if (startFrame == null)
     {
         return($"\"{SourceText}\" - (Index {CurrentIndex}): ");
     }
     return($"\"{SourceText}\" - (Range {startFrame.Index} - {CurrentIndex}): ");
 }
Esempio n. 2
0
 public bool Restore(TokenizerFrame frame)
 {
     if (!moreAt(frame.Index, 0))
     {
         return(false);
     }
     currentIndex = frame.Index;
     return(true);
 }