Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents an import into the current namespace. More...
#include <omScriptingMirScopes.h>
Public Member Functions | |
Import (Visibility newVisibility, const Shared< Reference > &newReference) | |
Create a new namespace declaration object with the specified attributes. More... | |
Visibility | getVisibility () const |
Return an object representing the visibility type of this import. More... | |
void | setVisibility (Visibility newVisibility) |
Set the visibility of this import to the specified kind. More... | |
const Shared< Reference > & | getReference () const |
Return a pointer to an object representing the name of the namespace or type that is imported. More... | |
Public Member Functions inherited from om::scripting::mir::lang::ASTNode | |
ASTNode () | |
Create a new AST node with no node position specified. More... | |
ASTNode (const Position &newPosition) | |
Create a new AST node which corresponds to a token starting at the specified source code position. More... | |
virtual | ~ASTNode () |
Destroy this AST node object. More... | |
const Position & | getPosition () const |
Return an object representing the position of this AST node in the source code. More... | |
void | setPosition (const Position &newPosition) |
Set the position of this AST node in the source code. More... | |
Static Public Member Functions | |
static Shared< Import > | construct (Visibility newVisibility, const Shared< Reference > &newReference) |
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments. More... | |
A class that represents an import into the current namespace.
|
inline |
Create a new namespace declaration object with the specified attributes.
|
inline |
Return an object representing the visibility type of this import.
|
inline |
Set the visibility of this import to the specified kind.
Return a pointer to an object representing the name of the namespace or type that is imported.
|
inlinestatic |
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments.