|
hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <pattern.H>


Public Member Functions | |
| MatchRegex (const RegexPtr &, const LexicalAnnotation &) | |
| MatchRegex (const std::string &, const LexicalAnnotation &) | |
| std::string | text () const |
| const RegexPtr & | value () const |
| void | show (std::ostream &) const |
| bool | operator== (const Pattern &) const |
Public Member Functions inherited from hobbes::PatternCase< MatchRegex > | |
| PatternCase (const LexicalAnnotation &) | |
Public Member Functions inherited from hobbes::Pattern | |
| const std::string & | name () const |
| void | name (const std::string &) |
| int | case_id () const |
Public Member Functions inherited from hobbes::LexicallyAnnotated | |
| LexicallyAnnotated (const LexicallyAnnotated &) | |
| LexicallyAnnotated (const LexicalAnnotation &) | |
| LexicallyAnnotated (const LexRange &) | |
| LexicallyAnnotated (const Pos &, const Pos &) | |
| const LexicalAnnotation & | la () const |
Static Public Member Functions | |
| static PatternPtr | toRegex (const MatchArray &) |
Static Public Member Functions inherited from hobbes::LexicallyAnnotated | |
| static void | pushFileContext (const std::string &) |
| static void | pushLiteralContext (const std::string &) |
| static void | popContext () |
| static LexicalAnnotation | make (const Pos &, const Pos &) |
Static Public Attributes | |
| static const int | type_case_id = 3 |
Private Member Functions | |
| void | assignSubNames (const std::string &) |
Private Attributes | |
| RegexPtr | regex |
Additional Inherited Members | |
Public Types inherited from hobbes::PatternCase< MatchRegex > | |
| typedef PatternCase< MatchRegex > | Base |
Protected Member Functions inherited from hobbes::Pattern | |
| Pattern (int cid, const LexicalAnnotation &) | |
| hobbes::MatchRegex::MatchRegex | ( | const RegexPtr & | regex, |
| const LexicalAnnotation & | la | ||
| ) |
| hobbes::MatchRegex::MatchRegex | ( | const std::string & | regex, |
| const LexicalAnnotation & | la | ||
| ) |
|
privatevirtual |
Implements hobbes::Pattern.
|
virtual |
Implements hobbes::Pattern.
|
virtual |
Implements hobbes::Pattern.
| std::string hobbes::MatchRegex::text | ( | ) | const |
|
static |
| const RegexPtr & hobbes::MatchRegex::value | ( | ) | const |
|
private |
|
static |
1.8.13