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

#include <module.H>

Inheritance diagram for hobbes::MImport:
Inheritance graph
Collaboration diagram for hobbes::MImport:
Collaboration graph

Public Member Functions

 MImport (const std::string &, const std::string &, const LexicalAnnotation &)
 
const std::string & path () const
 
const std::string & name () const
 
void show (std::ostream &) const
 
- Public Member Functions inherited from hobbes::ModuleDefCase< MImport >
 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 = 0
 

Private Attributes

std::string p
 
std::string n
 

Additional Inherited Members

- Public Types inherited from hobbes::ModuleDefCase< MImport >
typedef ModuleDefCase< MImportBase
 
- 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

◆ MImport()

hobbes::MImport::MImport ( const std::string &  p,
const std::string &  n,
const LexicalAnnotation la 
)

Member Function Documentation

◆ name()

const std::string & hobbes::MImport::name ( ) const

◆ path()

const std::string & hobbes::MImport::path ( ) const

◆ show()

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

Implements hobbes::ModuleDef.

Member Data Documentation

◆ n

std::string hobbes::MImport::n
private

◆ p

std::string hobbes::MImport::p
private

◆ type_case_id

const int hobbes::MImport::type_case_id = 0
static

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