hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
hobbes::App Class Reference

#include <expr.H>

Inheritance diagram for hobbes::App:
Inheritance graph
Collaboration diagram for hobbes::App:
Collaboration graph

Public Member Functions

 App (const ExprPtr &fn, const Exprs &args, const LexicalAnnotation &)
 
bool operator== (const App &) const
 
const ExprPtrfn () const
 
const Exprsargs () const
 
void fn (const ExprPtr &)
 
Exprsargs ()
 
Exprclone () const
 
void show (std::ostream &out) const
 
void showAnnotated (std::ostream &out) const
 
- Public Member Functions inherited from hobbes::ExprCase< App >
 ExprCase (const LexicalAnnotation &)
 
bool operator== (const Expr &rhs) const
 
- Public Member Functions inherited from hobbes::Expr
virtual ~Expr ()
 
const QualTypePtrtype () 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 LexicalAnnotationla () const
 

Static Public Attributes

static const int type_case_id = 13
 

Private Attributes

ExprPtr fne
 
Exprs argl
 

Additional Inherited Members

- Public Types inherited from hobbes::ExprCase< App >
typedef ExprCase< AppBase
 
- 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 &)
 

Constructor & Destructor Documentation

◆ App()

hobbes::App::App ( const ExprPtr fn,
const Exprs args,
const LexicalAnnotation la 
)

Member Function Documentation

◆ args() [1/2]

const Exprs & hobbes::App::args ( ) const

◆ args() [2/2]

Exprs & hobbes::App::args ( )

◆ clone()

Expr * hobbes::App::clone ( ) const
virtual

Implements hobbes::Expr.

◆ fn() [1/2]

const ExprPtr & hobbes::App::fn ( ) const

◆ fn() [2/2]

void hobbes::App::fn ( const ExprPtr nfne)

◆ operator==()

bool hobbes::App::operator== ( const App rhs) const
virtual

◆ show()

void hobbes::App::show ( std::ostream &  out) const
virtual

Implements hobbes::Expr.

◆ showAnnotated()

void hobbes::App::showAnnotated ( std::ostream &  out) const
virtual

Implements hobbes::Expr.

Member Data Documentation

◆ argl

Exprs hobbes::App::argl
private

◆ fne

ExprPtr hobbes::App::fne
private

◆ type_case_id

const int hobbes::App::type_case_id = 13
static

The documentation for this class was generated from the following files: