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


Public Types | |
| typedef std::vector< std::string > | VarNames |
Public Types inherited from hobbes::ExprCase< Fn > | |
| typedef ExprCase< Fn > | Base |
Public Member Functions | |
| Fn (const VarNames &vs, const ExprPtr &e, const LexicalAnnotation &) | |
| bool | operator== (const Fn &) const |
| const VarNames & | varNames () const |
| const ExprPtr & | body () const |
| VarNames & | varNames () |
| void | body (const ExprPtr &) |
| Expr * | clone () const |
| void | show (std::ostream &out) const |
| void | showAnnotated (std::ostream &out) const |
Public Member Functions inherited from hobbes::ExprCase< Fn > | |
| ExprCase (const LexicalAnnotation &) | |
| bool | operator== (const Expr &rhs) const |
Public Member Functions inherited from hobbes::Expr | |
| virtual | ~Expr () |
| const QualTypePtr & | type () const |
| void | type (const QualTypePtr &ty) |
| 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 = 12 |
Private Attributes | |
| VarNames | vs |
| ExprPtr | e |
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 Member Functions inherited from hobbes::Expr | |
| Expr (int cid, const LexicalAnnotation &) | |
| typedef std::vector<std::string> hobbes::Fn::VarNames |
| hobbes::Fn::Fn | ( | const VarNames & | vs, |
| const ExprPtr & | e, | ||
| const LexicalAnnotation & | la | ||
| ) |
| const ExprPtr & hobbes::Fn::body | ( | ) | const |
| void hobbes::Fn::body | ( | const ExprPtr & | ne | ) |
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::ExprCase< Fn >.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
| const Fn::VarNames & hobbes::Fn::varNames | ( | ) | const |
| Fn::VarNames & hobbes::Fn::varNames | ( | ) |
|
private |
|
static |
|
private |
1.8.13