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