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

#include <module.H>

Inheritance diagram for hobbes::MVarTypeDef:
Inheritance graph
Collaboration diagram for hobbes::MVarTypeDef:
Collaboration graph

Public Member Functions

 MVarTypeDef (const std::string &vname, const QualTypePtr &qty, const LexicalAnnotation &)
 
const std::string & varName () const
 
const QualTypePtrvarType () const
 
void show (std::ostream &out) const
 
- Public Member Functions inherited from hobbes::ModuleDefCase< MVarTypeDef >
 ModuleDefCase (const LexicalAnnotation &)
 
- Public Member Functions inherited from hobbes::ModuleDef
virtual ~ModuleDef ()
 
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 = 2
 

Private Attributes

std::string vname
 
QualTypePtr qty
 

Additional Inherited Members

- Public Types inherited from hobbes::ModuleDefCase< MVarTypeDef >
typedef ModuleDefCase< MVarTypeDefBase
 
- 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::ModuleDef
 ModuleDef (int cid, const LexicalAnnotation &)
 

Constructor & Destructor Documentation

◆ MVarTypeDef()

hobbes::MVarTypeDef::MVarTypeDef ( const std::string &  vname,
const QualTypePtr qty,
const LexicalAnnotation la 
)

Member Function Documentation

◆ show()

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

Implements hobbes::ModuleDef.

◆ varName()

const std::string & hobbes::MVarTypeDef::varName ( ) const

◆ varType()

const QualTypePtr & hobbes::MVarTypeDef::varType ( ) const

Member Data Documentation

◆ qty

QualTypePtr hobbes::MVarTypeDef::qty
private

◆ type_case_id

const int hobbes::MVarTypeDef::type_case_id = 2
static

◆ vname

std::string hobbes::MVarTypeDef::vname
private

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