Bitcoin Core  21.99.0
P2P Digital Currency
Namespaces | Functions
spanparsing.cpp File Reference
#include <util/spanparsing.h>
#include <span.h>
#include <string>
#include <vector>
Include dependency graph for spanparsing.cpp:

Go to the source code of this file.




bool spanparsing::Const (const std::string &str, Span< const char > &sp)
 Parse a constant. More...
bool spanparsing::Func (const std::string &str, Span< const char > &sp)
 Parse a function call. More...
Span< const char > spanparsing::Expr (Span< const char > &sp)
 Extract the expression that sp begins with. More...
std::vector< Span< const char > > spanparsing::Split (const Span< const char > &sp, char sep)
 Split a string on every instance of sep, returning a vector. More...