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


Classes | |
| struct | Binding |
Public Types | |
| typedef std::vector< Binding > | Bindings |
Public Types inherited from hobbes::ExprCase< Case > | |
| typedef ExprCase< Case > | Base |
Public Member Functions | |
| Case (const ExprPtr &v, const Bindings &bs, const LexicalAnnotation &) | |
| Case (const ExprPtr &v, const Bindings &bs, const ExprPtr &def, const LexicalAnnotation &) | |
| bool | operator== (const Case &) const |
| const ExprPtr & | variant () const |
| const Bindings & | bindings () const |
| const ExprPtr & | defaultExpr () const |
| void | variant (const ExprPtr &) |
| Bindings & | bindings () |
| void | defaultExpr (const ExprPtr &) |
| bool | hasBinding (const std::string &) const |
| void | addBinding (const std::string &selector, const std::string &vname, const ExprPtr &exp) |
| Expr * | clone () const |
| void | show (std::ostream &out) const |
| void | showAnnotated (std::ostream &out) const |
Public Member Functions inherited from hobbes::ExprCase< Case > | |
| 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 = 19 |
Private Attributes | |
| ExprPtr | v |
| Bindings | bs |
| ExprPtr | def |
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<Binding> hobbes::Case::Bindings |
| hobbes::Case::Case | ( | const ExprPtr & | v, |
| const Bindings & | bs, | ||
| const LexicalAnnotation & | la | ||
| ) |
| hobbes::Case::Case | ( | const ExprPtr & | v, |
| const Bindings & | bs, | ||
| const ExprPtr & | def, | ||
| const LexicalAnnotation & | la | ||
| ) |
| void hobbes::Case::addBinding | ( | const std::string & | selector, |
| const std::string & | vname, | ||
| const ExprPtr & | exp | ||
| ) |
| const Case::Bindings & hobbes::Case::bindings | ( | ) | const |
| Case::Bindings & hobbes::Case::bindings | ( | ) |
|
virtual |
Implements hobbes::Expr.
| const ExprPtr & hobbes::Case::defaultExpr | ( | ) | const |
| void hobbes::Case::defaultExpr | ( | const ExprPtr & | ndef | ) |
| bool hobbes::Case::hasBinding | ( | const std::string & | bn | ) | const |
|
virtual |
Implements hobbes::ExprCase< Case >.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
| const ExprPtr & hobbes::Case::variant | ( | ) | const |
| void hobbes::Case::variant | ( | const ExprPtr & | nv | ) |
|
private |
|
private |
|
static |
|
private |
1.8.13