hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <expr.H>
Public Member Functions | |
Bool (bool x, const LexicalAnnotation &) | |
bool | value () const |
void | value (bool) |
Expr * | clone () const |
void | show (std::ostream &out) const |
void | showAnnotated (std::ostream &out) const |
bool | equiv (const Bool &) const |
bool | lt (const Bool &) const |
MonoTypePtr | primType () const |
![]() | |
PrimitiveCase (const LexicalAnnotation &) | |
bool | operator< (const Primitive &rhs) const |
bool | operator== (const Expr &rhs) const |
![]() | |
Primitive (int cid, const LexicalAnnotation &) | |
![]() | |
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 = 1 |
Private Attributes | |
bool | x |
Additional Inherited Members | |
![]() | |
typedef PrimitiveCase< Bool > | 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::Bool::Bool | ( | bool | x, |
const LexicalAnnotation & | la | ||
) |
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::PrimitiveCase< Bool >.
|
virtual |
Implements hobbes::PrimitiveCase< Bool >.
|
virtual |
Implements hobbes::Primitive.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
bool hobbes::Bool::value | ( | ) | const |
void hobbes::Bool::value | ( | bool | nx | ) |
|
static |
|
private |