hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <expr.H>
Public Member Functions | |
Let (const std::string &id, const ExprPtr &e, const ExprPtr &b, const LexicalAnnotation &) | |
bool | operator== (const Let &) const |
const std::string & | var () const |
const ExprPtr & | varExpr () const |
const ExprPtr & | bodyExpr () const |
void | var (const std::string &) |
void | varExpr (const ExprPtr &) |
void | bodyExpr (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 = 10 |
Private Attributes | |
std::string | id |
ExprPtr | e |
ExprPtr | b |
Additional Inherited Members | |
![]() | |
typedef ExprCase< Let > | 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::Let::Let | ( | const std::string & | id, |
const ExprPtr & | e, | ||
const ExprPtr & | b, | ||
const LexicalAnnotation & | la | ||
) |
const ExprPtr & hobbes::Let::bodyExpr | ( | ) | const |
void hobbes::Let::bodyExpr | ( | const ExprPtr & | nb | ) |
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::ExprCase< Let >.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
const std::string & hobbes::Let::var | ( | ) | const |
void hobbes::Let::var | ( | const std::string & | nid | ) |
const ExprPtr & hobbes::Let::varExpr | ( | ) | const |
void hobbes::Let::varExpr | ( | const ExprPtr & | ne | ) |
|
private |
|
private |
|
private |
|
static |