Пример #1
0
 public string GetExceptionRangeText(FlexTokenizerFrame startFrame = null)
 {
     if (startFrame == null)
     {
         return($"\"{SourceText}\" - (Index {CurrentIndex}): ");
     }
     return($"\"{SourceText}\" - (Range {startFrame.Index} - {CurrentIndex}): ");
 }
Пример #2
0
 public bool Restore(FlexTokenizerFrame frame)
 {
     if (!moreAt(frame.Index, 0))
     {
         return(false);
     }
     currentIndex = frame.Index;
     return(true);
 }