hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <expr.H>
Public Types | |
typedef std::pair< std::string, ExprPtr > | FieldDef |
typedef std::vector< FieldDef > | FieldDefs |
![]() | |
typedef ExprCase< MkRecord > | Base |
Public Member Functions | |
MkRecord (const FieldDefs &fs, const LexicalAnnotation &) | |
bool | operator== (const MkRecord &) const |
const FieldDefs & | fields () const |
FieldDefs & | fields () |
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 = 17 |
Private Member Functions | |
bool | isTuple () const |
void | showRecord (std::ostream &out) const |
void | showRecordAnnotated (std::ostream &out) const |
void | showTuple (std::ostream &out) const |
void | showTupleAnnotated (std::ostream &out) const |
Private Attributes | |
FieldDefs | fs |
Additional Inherited Members | |
![]() | |
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 &) | |
typedef std::pair<std::string, ExprPtr> hobbes::MkRecord::FieldDef |
typedef std::vector<FieldDef> hobbes::MkRecord::FieldDefs |
hobbes::MkRecord::MkRecord | ( | const FieldDefs & | fs, |
const LexicalAnnotation & | la | ||
) |
|
virtual |
Implements hobbes::Expr.
const MkRecord::FieldDefs & hobbes::MkRecord::fields | ( | ) | const |
MkRecord::FieldDefs & hobbes::MkRecord::fields | ( | ) |
|
private |
|
virtual |
Implements hobbes::ExprCase< MkRecord >.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |