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


Public Member Functions | |
| MatchArray (const Patterns &ps, const LexicalAnnotation &) | |
| const PatternPtr & | pattern (size_t i) const |
| const Idxs & | indexes () const |
| size_t | size () const |
| void | indexes (const Idxs &) |
| void | show (std::ostream &) const |
| bool | operator== (const Pattern &) const |
Public Member Functions inherited from hobbes::PatternCase< MatchArray > | |
| 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 Attributes | |
| static const int | type_case_id = 2 |
Private Member Functions | |
| void | assignSubNames (const std::string &) |
Private Attributes | |
| Patterns | ps |
| Idxs | idxs |
Additional Inherited Members | |
Public Types inherited from hobbes::PatternCase< MatchArray > | |
| typedef PatternCase< MatchArray > | Base |
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 &) |
Protected Member Functions inherited from hobbes::Pattern | |
| Pattern (int cid, const LexicalAnnotation &) | |
| hobbes::MatchArray::MatchArray | ( | const Patterns & | ps, |
| const LexicalAnnotation & | la | ||
| ) |
|
privatevirtual |
Implements hobbes::Pattern.
| const Idxs & hobbes::MatchArray::indexes | ( | ) | const |
| void hobbes::MatchArray::indexes | ( | const Idxs & | idxs | ) |
|
virtual |
Implements hobbes::Pattern.
| const PatternPtr & hobbes::MatchArray::pattern | ( | size_t | i | ) | const |
|
virtual |
Implements hobbes::Pattern.
| size_t hobbes::MatchArray::size | ( | ) | const |
|
private |
|
private |
|
static |
1.8.13