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::AIndex Class Reference

#include <expr.H>

Inheritance diagram for hobbes::AIndex:
Inheritance graph
Collaboration diagram for hobbes::AIndex:
Collaboration graph

Public Member Functions

 AIndex (const ExprPtr &, const ExprPtr &, const LexicalAnnotation &)
 
bool operator== (const AIndex &) const
 
const ExprPtrarray () const
 
const ExprPtrindex () const
 
void array (const ExprPtr &)
 
void index (const ExprPtr &)
 
Exprclone () const
 
void show (std::ostream &out) const
 
void showAnnotated (std::ostream &out) const
 
- Public Member Functions inherited from hobbes::ExprCase< AIndex >
 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 = 18
 

Private Attributes

ExprPtr arr
 
ExprPtr i
 

Additional Inherited Members

- Public Types inherited from hobbes::ExprCase< AIndex >
typedef ExprCase< AIndexBase
 
- 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

◆ AIndex()

hobbes::AIndex::AIndex ( const ExprPtr arr,
const ExprPtr i,
const LexicalAnnotation la 
)

Member Function Documentation

◆ array() [1/2]

const ExprPtr & hobbes::AIndex::array ( ) const

◆ array() [2/2]

void hobbes::AIndex::array ( const ExprPtr na)

◆ clone()

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

Implements hobbes::Expr.

◆ index() [1/2]

const ExprPtr & hobbes::AIndex::index ( ) const

◆ index() [2/2]

void hobbes::AIndex::index ( const ExprPtr ni)

◆ operator==()

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

◆ show()

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

Implements hobbes::Expr.

◆ showAnnotated()

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

Implements hobbes::Expr.

Member Data Documentation

◆ arr

ExprPtr hobbes::AIndex::arr
private

◆ i

ExprPtr hobbes::AIndex::i
private

◆ type_case_id

const int hobbes::AIndex::type_case_id = 18
static

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