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


Public Member Functions | |
| virtual void | show (std::ostream &) const =0 |
| virtual bool | operator== (const Pattern &) const =0 |
| 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 |
Protected Member Functions | |
| virtual void | assignSubNames (const std::string &)=0 |
| Pattern (int cid, const LexicalAnnotation &) | |
Private Attributes | |
| std::string | pname |
| int | cid |
Additional Inherited Members | |
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 |
|
protectedpure virtual |
Implemented in hobbes::MatchVariant, hobbes::MatchRecord, hobbes::MatchRegex, hobbes::MatchArray, hobbes::MatchAny, and hobbes::MatchLiteral.
| int hobbes::Pattern::case_id | ( | ) | const |
| const std::string & hobbes::Pattern::name | ( | ) | const |
| void hobbes::Pattern::name | ( | const std::string & | x | ) |
|
pure virtual |
Implemented in hobbes::MatchVariant, hobbes::MatchRecord, hobbes::MatchRegex, hobbes::MatchArray, hobbes::MatchAny, and hobbes::MatchLiteral.
|
pure virtual |
Implemented in hobbes::MatchVariant, hobbes::MatchRecord, hobbes::MatchRegex, hobbes::MatchArray, hobbes::MatchAny, and hobbes::MatchLiteral.
|
private |
|
private |
1.8.13