hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <pattern.H>
Public Member Functions | |
MatchLiteral (const PrimitivePtr &proxy, const LexicalAnnotation &) | |
MatchLiteral (const PrimitivePtr &proxy, const ExprPtr &value, const LexicalAnnotation &) | |
const ExprPtr & | expression () const |
const PrimitivePtr & | equivConstant () const |
void | show (std::ostream &) const |
bool | operator== (const Pattern &) const |
![]() | |
PatternCase (const LexicalAnnotation &) | |
![]() | |
const std::string & | name () const |
void | name (const std::string &) |
int | case_id () const |
![]() | |
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 = 0 |
Private Member Functions | |
void | assignSubNames (const std::string &) |
Private Attributes | |
PrimitivePtr | p |
ExprPtr | e |
Additional Inherited Members | |
![]() | |
typedef PatternCase< MatchLiteral > | Base |
![]() | |
static void | pushFileContext (const std::string &) |
static void | pushLiteralContext (const std::string &) |
static void | popContext () |
static LexicalAnnotation | make (const Pos &, const Pos &) |
![]() | |
Pattern (int cid, const LexicalAnnotation &) | |
hobbes::MatchLiteral::MatchLiteral | ( | const PrimitivePtr & | proxy, |
const LexicalAnnotation & | la | ||
) |
hobbes::MatchLiteral::MatchLiteral | ( | const PrimitivePtr & | proxy, |
const ExprPtr & | value, | ||
const LexicalAnnotation & | la | ||
) |
|
privatevirtual |
Implements hobbes::Pattern.
const PrimitivePtr & hobbes::MatchLiteral::equivConstant | ( | ) | const |
const ExprPtr & hobbes::MatchLiteral::expression | ( | ) | const |
|
virtual |
Implements hobbes::Pattern.
|
virtual |
Implements hobbes::Pattern.
|
private |
|
private |
|
static |