Bitcoin Core  27.99.0
P2P Digital Currency
Namespaces | Functions
spanparsing.h File Reference
#include <span.h>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for spanparsing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spanparsing
 

Functions

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...
 
template<typename T = Span<const char>>
std::vector< T > spanparsing::Split (const Span< const char > &sp, std::string_view separators)
 Split a string on any char found in separators, returning a vector. More...
 
template<typename T = Span<const char>>
std::vector< T > spanparsing::Split (const Span< const char > &sp, char sep)
 Split a string on every instance of sep, returning a vector. More...