Example #1
0
 /// <summary>
 /// Visits a terminal value. This method simply calls <see cref="IStringMatcher.MatchWhiteSpaces(int)">Matcher.MatchWhiteSpaces(0)</see>
 /// to skip any whitespace and <see cref="VirtualStringMatcherTextExtension.TryMatchJSONTerminalValue(VirtualStringMatcher)">TryMatchJSONTerminalValue</see>
 /// to skip the value itself.
 /// </summary>
 /// <returns>True on success. On error a message may be retrieved from the <see cref="Matcher"/>.</returns>
 protected virtual bool VisitTerminalValue()
 {
     SkipWhiteSpaces();
     return(_m.TryMatchJSONTerminalValue() || _m.SetError());
 }