sisi4s
|
Classes | |
struct | Regex |
struct | XyzParser |
Typedefs | |
using | Str = std::string |
Functions | |
std::string | oneOf (const std::vector< std::string > &v) |
template<> | |
std::vector< std::string > | parseVector (const std::string &l) |
template<> | |
std::vector< double > | parseVector< double > (const std::string &l) |
template<> | |
std::vector< int > | parseVector< int > (const std::string &l) |
const Str | oneOrMore ("+") |
const Str | newline ("\\n") |
const Str | anyChar (".") |
const Str | tab ("\\t") |
const Str | anyOf ("*") |
const Str | optional ("?") |
const Str | eof ("$") |
const Str | orOf ("|") |
const Str | bof ("^") |
const Str | alnum ("[[:alnum:]]") |
const Str | alpha ("[[:alpha:]]") |
const Str | blank ("[[:blank:]]") |
const Str | cntrl ("[[:cntrl:]]") |
const Str | digit ("[[:digit:]]") |
const Str | graph ("[[:graph:]]") |
const Str | lower ("[[:lower:]]") |
const Str | upper ("[[:upper:]]") |
const Str | print ("[[:print:]]") |
const Str | punct ("[[:punct:]]") |
const Str | space ("[[:space:]]") |
const Str | xdigit ("[[:xdigit:]]") |
const Str | realNumber ("[-eE+\\d.]+") |
const std::function< Str(Str)> | capture ([](const Str &i) { return "("+i+")";}) |
const std::function< Str(Str)> | group ([](const Str &i) { return "(?:"+i+")";}) |
template<typename F > | |
std::vector< F > | parseVector (const std::string &) |
using pars::Str = typedef std::string |
const Str pars::alnum | ( | "]" | [[:alnum:] | ) |
const Str pars::alpha | ( | "]" | [[:alpha:] | ) |
const Str pars::anyChar | ( | "." | ) |
const Str pars::anyOf | ( | "*" | ) |
const Str pars::blank | ( | "]" | [[:blank:] | ) |
const Str pars::bof | ( | "^" | ) |
const Str pars::cntrl | ( | "]" | [[:cntrl:] | ) |
const Str pars::digit | ( | "]" | [[:digit:] | ) |
const Str pars::eof | ( | "$" | ) |
const Str pars::graph | ( | "]" | [[:graph:] | ) |
const Str pars::lower | ( | "]" | [[:lower:] | ) |
const Str pars::newline | ( | "\\n" | ) |
Str pars::oneOf | ( | const std::vector< std::string > & | v | ) |
const Str pars::oneOrMore | ( | "+" | ) |
const Str pars::optional | ( | "?" | ) |
const Str pars::orOf | ( | "|" | ) |
std::vector< F > pars::parseVector | ( | const std::string & | ) |
std::vector< std::string > pars::parseVector | ( | const std::string & | l | ) |
std::vector< double > pars::parseVector< double > | ( | const std::string & | l | ) |
std::vector< int > pars::parseVector< int > | ( | const std::string & | l | ) |
const Str pars::print | ( | "]" | [[:print:] | ) |
const Str pars::punct | ( | "]" | [[:punct:] | ) |
const Str pars::realNumber | ( | "+" | [-eE+\\d.] | ) |
const Str pars::space | ( | "]" | [[:space:] | ) |
const Str pars::tab | ( | "\\t" | ) |
const Str pars::upper | ( | "]" | [[:upper:] | ) |
const Str pars::xdigit | ( | "]" | [[:xdigit:] | ) |