Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Namespaces | Functions
spanparsing.h File Reference
#include <span.h>
#include <string>
#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

namespace  spanparsing
 

Functions

bool spanparsing::Const (const std::string &str, Span< const char > &sp)
 Parse a constant.
 
bool spanparsing::Func (const std::string &str, Span< const char > &sp)
 Parse a function call.
 
Span< const charspanparsing::Expr (Span< const char > &sp)
 Extract the expression that sp begins with.
 
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.