This specific abstract node represents a script object. More...
#include <CCPUScriptCompiler.h>
Public Member Functions | |
PUObjectAbstractNode (PUAbstractNode *ptr) | |
virtual | ~PUObjectAbstractNode () |
PUAbstractNode * | clone () const |
Returns a new AbstractNode which is a replica of this one. More... | |
std::string | getValue () const |
Returns a string value depending on the type of the AbstractNode. More... | |
void | addVariable (const std::string &name) |
void | setVariable (const std::string &name, const std::string &value) |
std::pair< bool, std::string > | getVariable (const std::string &name) const |
var | getVariable ( var name) |
local | getVariable ( local name) |
const std::map< std::string, std::string > & | getVariables () const |
local | getVariables () |
Public Member Functions inherited from PUAbstractNode | |
PUAbstractNode (PUAbstractNode *ptr) | |
virtual | ~PUAbstractNode () |
Public Attributes | |
std::string | name |
std::string | cls |
std::vector< std::string > | bases |
unsigned int | id |
bool | abstract |
PUAbstractNodeList | children |
var | children |
local | children |
PUAbstractNodeList | values |
PUAbstractNodeList | overrides |
Public Attributes inherited from PUAbstractNode | |
std::string | file |
unsigned int | line |
PUAbstractNodeType | type |
PUAbstractNode * | parent |
Ref * | context |
This specific abstract node represents a script object.
PUObjectAbstractNode | ( | PUAbstractNode * | ptr | ) |
var PUObjectAbstractNode | ( | var | ptr | ) |
local PUObjectAbstractNode | ( | local | ptr | ) |
|
virtual |
|
virtual |
|
virtual |
void addVariable | ( | const std::string & | name | ) |
var addVariable | ( | var | name | ) |
local addVariable | ( | local | name | ) |
|
virtual |
Returns a new AbstractNode which is a replica of this one.
Implements PUAbstractNode.
|
virtual |
Returns a new AbstractNode which is a replica of this one.
Implements PUAbstractNode.
|
virtual |
Returns a new AbstractNode which is a replica of this one.
Implements PUAbstractNode.
|
virtual |
Returns a string value depending on the type of the AbstractNode.
Implements PUAbstractNode.
|
virtual |
Returns a string value depending on the type of the AbstractNode.
Implements PUAbstractNode.
|
virtual |
Returns a string value depending on the type of the AbstractNode.
Implements PUAbstractNode.
std::pair<bool,std::string> getVariable |
( | const std::string & | name | ) | const |
var getVariable | ( | var | name | ) |
local getVariable | ( | local | name | ) |
const std::map<std::string,std::string> & getVariables |
( | ) | const |
var getVariables | ( | ) |
local getVariables | ( | ) |
void setVariable | ( | const std::string & | name, |
const std::string & | value | ||
) |
var setVariable | ( | var | name, |
var | value | ||
) |
local setVariable | ( | local | name, |
local | value | ||
) |
bool abstract |
var abstract |
local abstract |
std::vector<std::string> bases |
var bases |
local bases |
PUAbstractNodeList children |
var children |
local children |
std::string cls |
var cls |
local cls |
unsigned int id |
var id |
local id |
std::string name |
var name |
local name |
PUAbstractNodeList overrides |
var overrides |
local overrides |
PUAbstractNodeList values |
var values |
local values |