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


Public Member Functions | |
| Float (float x, const LexicalAnnotation &) | |
| float | value () const |
| void | value (float) |
| Expr * | clone () const |
| void | show (std::ostream &out) const |
| void | showAnnotated (std::ostream &out) const |
| bool | equiv (const Float &) const |
| bool | lt (const Float &) const |
| MonoTypePtr | primType () const |
Public Member Functions inherited from hobbes::PrimitiveCase< Float > | |
| PrimitiveCase (const LexicalAnnotation &) | |
| bool | operator< (const Primitive &rhs) const |
| bool | operator== (const Expr &rhs) const |
Public Member Functions inherited from hobbes::Primitive | |
| Primitive (int cid, const LexicalAnnotation &) | |
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 = 7 |
Private Attributes | |
| float | x |
Additional Inherited Members | |
Public Types inherited from hobbes::PrimitiveCase< Float > | |
| typedef PrimitiveCase< Float > | Base |
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 &) | |
| hobbes::Float::Float | ( | float | x, |
| const LexicalAnnotation & | la | ||
| ) |
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::PrimitiveCase< Float >.
|
virtual |
Implements hobbes::PrimitiveCase< Float >.
|
virtual |
Implements hobbes::Primitive.
|
virtual |
Implements hobbes::Expr.
|
virtual |
Implements hobbes::Expr.
| float hobbes::Float::value | ( | ) | const |
| void hobbes::Float::value | ( | float | nx | ) |
|
static |
|
private |
1.8.13