Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lib::query::anonymous_namespace{query-util.cpp} Namespace Reference

Typedefs

using ChPredicate = std::function< bool(string::value_type)>
 

Functions

regex & getTermRegex (Symbol sym)
 

Variables

ChPredicate is_alpha = boost::algorithm::is_alpha()
 
ChPredicate is_upper = boost::algorithm::is_upper()
 
map< Symbol, regex > regexTable
 
Literal MATCH_ARGUMENT = R"~(\‍(\s*([\w_\.\-]+)\s*\‍),?\s*)~"
 
const regex FIND_PREDICATE {string{"(\\w+)"} + MATCH_ARGUMENT}
 

Typedef Documentation

◆ ChPredicate

using ChPredicate = std::function<bool(string::value_type)>

Definition at line 44 of file query-util.cpp.

Function Documentation

◆ getTermRegex()

regex & getTermRegex ( Symbol  sym)
inline

Definition at line 78 of file query-util.cpp.

References getTermRegex(), MATCH_ARGUMENT, and regexTable.

Referenced by getTermRegex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ is_alpha

ChPredicate is_alpha = boost::algorithm::is_alpha()

Definition at line 46 of file query-util.cpp.

◆ is_upper

ChPredicate is_upper = boost::algorithm::is_upper()

Definition at line 47 of file query-util.cpp.

◆ regexTable

map<Symbol, regex> regexTable

Definition at line 72 of file query-util.cpp.

Referenced by getTermRegex().

◆ MATCH_ARGUMENT

Literal MATCH_ARGUMENT = R"~(\‍(\s*([\w_\.\-]+)\s*\‍),?\s*)~"

Definition at line 74 of file query-util.cpp.

Referenced by getTermRegex().

◆ FIND_PREDICATE

const regex FIND_PREDICATE {string{"(\\w+)"} + MATCH_ARGUMENT}

Definition at line 75 of file query-util.cpp.