Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents a string of reference qualifiers which name an object, value, or function. More...
#include <omScriptingMirReference.h>
Public Member Functions | |
Reference () | |
Create a new reference object that is not specified relative to the 'this' pointer. More... | |
Reference (Bool newIsThisRelative) | |
Create a new reference object with the specified this-relative type. More... | |
Size | getQualifierCount () const |
Return the number of qualifiers that the reference has. More... | |
ReferenceQualifier & | getQualifier (Index qualifierIndex) |
Return a pointer to the reference qualifier at the specified index in this reference's qualifier list. More... | |
const ReferenceQualifier & | getQualifier (Index qualifierIndex) const |
Return a pointer to the reference qualifier at the specified index in this reference's qualifier list. More... | |
Bool | addQualifier (const Shared< Identifier > &newName, const Shared< TemplateInstantiation > &newTemplate) |
Add a new qualifier to the end of this reference's qualifier list. More... | |
Bool | addQualifier (const Shared< Identifier > &newName) |
Add a new qualifier to the end of this reference's qualifier list. More... | |
Bool | addQualifier (const ReferenceQualifier &newQualifier) |
Add a new qualifier to the end of this reference's qualifier list. More... | |
Bool | getIsThisRelative () const |
Return whether or not this reference starts with a 'this' qualifier. More... | |
const Shared< Declaration > & | getDeclaration () const |
Return a pointer to this reference's declaration, or NULL if there is no declaration. More... | |
Bool | hasDeclaration () const |
Return whether or not this reference has an associated declaration. 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< Reference > | construct () |
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments. More... | |
static Shared< Reference > | construct (Bool newIsThisRelative) |
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments. More... | |
A class that represents a string of reference qualifiers which name an object, value, or function.
|
inline |
Create a new reference object that is not specified relative to the 'this' pointer.
|
inline |
Create a new reference object with the specified this-relative type.
|
inline |
Return the number of qualifiers that the reference has.
|
inline |
Return a pointer to the reference qualifier at the specified index in this reference's qualifier list.
|
inline |
Return a pointer to the reference qualifier at the specified index in this reference's qualifier list.
|
inline |
Add a new qualifier to the end of this reference's qualifier list.
|
inline |
Add a new qualifier to the end of this reference's qualifier list.
|
inline |
Add a new qualifier to the end of this reference's qualifier list.
|
inline |
Return whether or not this reference starts with a 'this' qualifier.
|
inline |
Return a pointer to this reference's declaration, or NULL if there is no declaration.
|
inline |
Return whether or not this reference has an associated declaration.
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments.
|
inlinestatic |
Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments.