hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <expr.H>
Public Types | |
typedef PrimitiveCase< Case > | Base |
Public Member Functions | |
PrimitiveCase (const LexicalAnnotation &) | |
virtual bool | equiv (const Case &) const =0 |
virtual bool | lt (const Case &) const =0 |
bool | operator< (const Primitive &rhs) const |
bool | operator== (const Expr &rhs) const |
![]() | |
virtual MonoTypePtr | primType () const =0 |
Primitive (int cid, const LexicalAnnotation &) | |
![]() | |
virtual | ~Expr () |
virtual void | show (std::ostream &) const =0 |
virtual void | showAnnotated (std::ostream &) const =0 |
virtual Expr * | clone () const =0 |
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 |
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 PrimitiveCase<Case> hobbes::PrimitiveCase< Case >::Base |
hobbes::PrimitiveCase< Case >::PrimitiveCase | ( | const LexicalAnnotation & | la | ) |
|
pure virtual |
Implemented in hobbes::Double, hobbes::Float, hobbes::Long, hobbes::Int, hobbes::Short, hobbes::Byte, hobbes::Char, hobbes::Bool, and hobbes::Unit.
|
pure virtual |
Implemented in hobbes::Double, hobbes::Float, hobbes::Long, hobbes::Int, hobbes::Short, hobbes::Byte, hobbes::Char, hobbes::Bool, and hobbes::Unit.
|
inlinevirtual |
Implements hobbes::Primitive.
|
inlinevirtual |
Implements hobbes::Primitive.