hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <expr.H>
Public Member Functions | |
Unpack (const std::string &, const ExprPtr &, const ExprPtr &, const LexicalAnnotation &) | |
bool | operator== (const Unpack &) const |
const std::string & | varName () const |
const ExprPtr & | package () const |
const ExprPtr & | expr () const |
void | varName (const std::string &) |
void | package (const ExprPtr &) |
void | expr (const ExprPtr &) |
Expr * | clone () const |
void | show (std::ostream &out) const |
void | showAnnotated (std::ostream &out) const |
![]() | |
ExprCase (const LexicalAnnotation &) | |
bool | operator== (const Expr &rhs) const |
![]() | |
virtual | ~Expr () |
const QualTypePtr & | type () const |
void | type (const QualTypePtr &ty) |
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 = 24 |
Private Attributes | |
std::string | vn |
ExprPtr | pkg |
ExprPtr | body |
Additional Inherited Members | |
![]() | |
typedef ExprCase< Unpack > | Base |
![]() | |
static void | pushFileContext (const std::string &) |
static void | pushLiteralContext (const std::string &) |
static void | popContext () |
static LexicalAnnotation | make (const Pos &, const Pos &) |
![]() | |
Expr (int cid, const LexicalAnnotation &) | |
hobbes::Unpack::Unpack | ( | const std::string & | vn, |
const ExprPtr & | pkg, | ||
const ExprPtr & | body, | ||
const LexicalAnnotation & | la | ||
) |
|
virtual |
Implements hobbes::Expr.
const ExprPtr & hobbes::Unpack::expr | ( | ) | const |
void hobbes::Unpack::expr | ( | const ExprPtr & | nbody | ) |
|
virtual |
Implements hobbes::ExprCase< Unpack >.
const ExprPtr & hobbes::Unpack::package | ( | ) | const |
void hobbes::Unpack::package | ( | const ExprPtr & | npkg | ) |
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
const std::string & hobbes::Unpack::varName | ( | ) | const |
void hobbes::Unpack::varName | ( | const std::string & | nvn | ) |
|
private |
|
private |
|
static |
|
private |