Exemplo n.º 1
0
 /// <summary>
 /// Visits a terminal value. This method simply calls <see cref="StringMatcher.MatchWhiteSpaces(int)">Matcher.MatchWhiteSpaces(0)</see>
 /// to skip any whitespace and <see cref="StringMatcherTextExtension.TryMatchJSONTerminalValue(StringMatcher)">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());
 }