hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Typedefs | Functions
regex.H File Reference
#include <hobbes/util/lannotation.H>
#include <hobbes/util/str.H>
#include <map>
#include <vector>
#include <string>
#include <set>
Include dependency graph for regex.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hobbes::Regex
 
struct  hobbes::CRegexes
 

Namespaces

 hobbes
 

Typedefs

typedef std::shared_ptr< Regex > hobbes::RegexPtr
 
typedef std::vector< RegexPtr > hobbes::Regexes
 
typedef size_t hobbes::RegexIdx
 
typedef std::set< RegexIdx > hobbes::RegexIdxs
 
typedef std::map< size_t, RegexIdxs > hobbes::RStates
 
typedef std::map< size_t, str::seqhobbes::CaptureVarsAt
 
typedef std::pair< std::string, ExprPtr > hobbes::CVarDef
 
typedef std::vector< CVarDef > hobbes::CVarDefs
 

Functions

RegexPtr hobbes::parseRegex (const std::string &)
 
str::seq hobbes::bindingNames (const RegexPtr &)
 
CRegexes hobbes::makeRegexFn (cc *, const Regexes &, const LexicalAnnotation &)
 
CVarDefs hobbes::unpackCaptureVars (const std::string &strVar, const std::string &bufferVar, const CRegexes &, size_t state, const LexicalAnnotation &)