An expression that imports a Fabrique module. More...
#include <Import.h>
Public Member Functions | |
Import (UniqPtr< StringLiteral > &name, UniqPtrVec< Argument > &arguments, const std::string &subdirectory, UniqPtr< Scope > &, const Type &, SourceRange) | |
Import (UniqPtr< StringLiteral > &name, UniqPtrVec< Argument > &arguments, UniqPtr< plugin::Plugin > &, SourceRange) | |
const StringLiteral & | name () const |
const UniqPtrVec< Argument > & | arguments () const |
const std::string & | subdirectory () const |
virtual void | PrettyPrint (Bytestream &, size_t indent=0) const override |
Print a human-readable representation to an output stream and return that output stream. | |
virtual void | Accept (Visitor &) const |
virtual dag::ValuePtr | evaluate (EvalContext &) const override |
Public Member Functions inherited from fabrique::HasSource | |
HasSource (const SourceRange &src) | |
const SourceRange & | source () const |
Public Member Functions inherited from fabrique::Printable | |
Printable (const Printable &) | |
Printable & | operator= (const Printable &) |
virtual std::string | str () const |
Public Member Functions inherited from fabrique::Visitable< Visitor > | |
virtual void | Accept (Visitor &) const =0 |
Public Member Functions inherited from fabrique::Typed | |
Typed (const Type &t) | |
virtual const Type & | type () const |
Public Member Functions inherited from fabrique::ast::HasScope | |
HasScope (UniqPtr< Scope > &&) | |
virtual const Scope & | scope () const |
Additional Inherited Members | |
Protected Member Functions inherited from fabrique::ast::Expression | |
Expression (const Type &t, const SourceRange &src) | |
Protected Member Functions inherited from fabrique::ast::Node | |
Node (const SourceRange &src) | |