MCPcopy Create free account
hub / github.com/Snapchat/Valdi / peekPredicate

Method peekPredicate

valdi_core/src/valdi_core/cpp/Utils/TextParser.hpp:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102 template<typename Pred>
103 inline bool peekPredicate(Pred&& pred) const {
104 return pred(peek());
105 }
106
107 void setErrorAtCurrentPosition(const Error& error);
108 void setErrorAtCurrentPosition(std::string_view errorMessage);

Callers 1

preprocessGradientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected