cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PUScriptTranslator Class Reference

script translator More...

#include <CCPUScriptTranslator.h>

Inheritance diagram for PUScriptTranslator:
CCPUBoxEmitterTranslator CCPUMaterialTranslator PUAffectorTranslator PUAlignAffectorTranslator PUBaseColliderTranslator PUBaseForceAffectorTranslator PUBehaviourTranslator PUBoxColliderTranslator PUCircleEmitterTranslator PUCollisionAvoidanceAffectorTranslator PUColorAffectorTranslator PUDoAffectorEventHandlerTranslator PUDoEnableComponentEventHandlerTranslator PUDoExpireEventHandlerTranslator PUDoFreezeEventHandlerTranslator PUDoPlacementParticleEventHandlerTranslator PUDoScaleEventHandlerTranslator PUDoStopSystemEventHandlerTranslator PUDynamicAttributeTranslator PUEmitterTranslator PUEventHandlerTranslator PUFlockCenteringAffectorTranslator PUForceFieldAffectorTranslator PUGeometryRotatorTranslator PUGravityAffectorTranslator PUInterParticleColliderTranslator PUJetAffectorTranslator PULineAffectorTranslator PULinearForceAffectorTranslator PULineEmitterTranslator PUMaterialPassTranslator PUMaterialTechniqueTranslator PUMaterialTextureUnitTranslator PUMeshSurfaceEmitterTranslator PUObserverTranslator PUOnClearObserverTranslator PUOnCollisionObserverTranslator PUOnCountObserverTranslator PUOnEmissionObserverTranslator PUOnEventFlagObserverTranslator PUOnExpireObserverTranslator PUOnPositionObserverTranslator PUOnQuotaObserverTranslator PUOnRandomObserverTranslator PUOnTimeObserverTranslator PUOnVelocityObserverTranslator PUParticleFollowerTranslator PUParticleSystem3DTranslator PUPathFollowerTranslator PUPlaneColliderTranslator PUPointEmitterTranslator PUPositionEmitterTranslator PURandomiserTranslator PURendererTranslator PUScaleAffectorTranslator PUScaleVelocityAffectorTranslator PUSineForceAffectorTranslator PUSlaveBehaviourTranslator PUSlaveEmitterTranslator PUSphereColliderTranslator PUSphereSurfaceEmitterTranslator PUTechniqueTranslator PUTextureAnimatorTranslator PUTextureRotatorTranslator PUVelocityMatchingAffectorTranslator PUVortexAffectorTranslator

Public Types

enum  ValidationType {
  VAL_REAL, VAL_BOOL, VAL_UINT, VAL_INT,
  VAL_STRING, VAL_VECTOR2, VAL_VECTOR3, VAL_VECTOR4,
  VAL_COLOURVALUE, VAL_QUATERNION
}
 

Public Member Functions

 PUScriptTranslator ()
virtual ~PUScriptTranslator ()
virtual void translate (PUScriptCompiler *compiler, PUAbstractNode *node)
 ScriptTranslator More...
 
virtual bool translateChildProperty (PUScriptCompiler *compiler, PUAbstractNode *node)
 Only parses a certain child property. More...
 
local translateChildProperty ( local compiler, local node)
 Only parses a certain child property. More...
 
virtual bool translateChildObject (PUScriptCompiler *compiler, PUAbstractNode *node)
 Only parses a certain child objec. More...
 
var translateChildObject ( var compiler, var node)
 Only parses a certain child objec. More...
 
local translateChildObject ( local compiler, local node)
 Only parses a certain child objec. More...
 
bool getVector2 (PUAbstractNodeList::const_iterator i, PUAbstractNodeList::const_iterator end, Vec2 *result, int maxEntries=2)
 Parse Vector2. More...
 
bool getVector3 (PUAbstractNodeList::const_iterator i, PUAbstractNodeList::const_iterator end, Vec3 *result, int maxEntries=3)
 Parse Vector3. More...
 
bool getVector4 (PUAbstractNodeList::const_iterator i, PUAbstractNodeList::const_iterator end, Vec4 *result, int maxEntries=4)
 Parse Vector4. More...
 
bool getQuaternion (PUAbstractNodeList::const_iterator i, PUAbstractNodeList::const_iterator end, Quaternion *result, int maxEntries=4)
 Parse Quaternion. More...
 
bool passValidateProperty (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop, const std::string &token, ValidationType validationType)
 Validate a property. More...
 
bool passValidatePropertyNoValues (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop, const std::string &token)
 Validate whether a property has values. More...
 
bool passValidatePropertyNumberOfValues (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop, const std::string &token, unsigned short numberOfValues)
 Validate whether the number of values is correct. More...
 
bool passValidatePropertyNumberOfValuesRange (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop, const std::string &token, unsigned short minNumberOfValues, unsigned short maxNumberOfValues)
 Validate whether the number of values is between a range. More...
 
bool passValidatePropertyValidReal (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct Real. More...
 
bool passValidatePropertyValidInt (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct int. More...
 
bool passValidatePropertyValidUint (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct uint. More...
 
bool passValidatePropertyValidBool (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct bool. More...
 
bool passValidatePropertyValidVector2 (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct Vector2. More...
 
bool passValidatePropertyValidVector3 (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct Vector3. More...
 
var passValidatePropertyValidVector3 ( var compiler, var prop)
 Validate whether the value is a correct Vector3. More...
 
local passValidatePropertyValidVector3 ( local compiler, local prop)
 Validate whether the value is a correct Vector3. More...
 
bool passValidatePropertyValidVector4 (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct Vector4. More...
 
var passValidatePropertyValidVector4 ( var compiler, var prop)
 Validate whether the value is a correct Vector4. More...
 
local passValidatePropertyValidVector4 ( local compiler, local prop)
 Validate whether the value is a correct Vector4. More...
 
bool passValidatePropertyValidQuaternion (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Validate whether the value is a correct Quaternion. More...
 
var passValidatePropertyValidQuaternion ( var compiler, var prop)
 Validate whether the value is a correct Quaternion. More...
 
local passValidatePropertyValidQuaternion ( local compiler, local prop)
 Validate whether the value is a correct Quaternion. More...
 
void errorUnexpectedToken (PUScriptCompiler *compiler, PUAbstractNode *node)
 Adds an error to the compiler: An unknown token is read. More...
 
var errorUnexpectedToken ( var compiler, var node)
 Adds an error to the compiler: An unknown token is read. More...
 
local errorUnexpectedToken ( local compiler, local node)
 Adds an error to the compiler: An unknown token is read. More...
 
void errorUnexpectedProperty (PUScriptCompiler *compiler, PUPropertyAbstractNode *prop)
 Adds an error to the compiler: An unknown property is read. More...
 
void processNode (PUScriptCompiler *compiler, PUAbstractNode *node)
virtual bool isParticleSystemTranslator () const

Static Public Member Functions

static bool getFloat (const PUAbstractNode &node, float *result)
var getFloat ( var node, var result)
local getFloat ( local node, local result)
static bool getInt (const PUAbstractNode &node, int *result)
static bool getUInt (const PUAbstractNode &node, unsigned int *result)
static bool getBoolean (const PUAbstractNode &node, bool *result)
static bool getString (const PUAbstractNode &node, std::string *result)

Detailed Description

script translator

Member Enumeration Documentation

Enumerator
VAL_REAL 
VAL_BOOL 
VAL_UINT 
VAL_INT 
VAL_STRING 
VAL_VECTOR2 
VAL_VECTOR3 
VAL_VECTOR4 
VAL_COLOURVALUE 
VAL_QUATERNION 
Enumerator
VAL_REAL 
VAL_BOOL 
VAL_UINT 
VAL_INT 
VAL_STRING 
VAL_VECTOR2 
VAL_VECTOR3 
VAL_VECTOR4 
VAL_COLOURVALUE 
VAL_QUATERNION 
Enumerator
VAL_REAL 
VAL_BOOL 
VAL_UINT 
VAL_INT 
VAL_STRING 
VAL_VECTOR2 
VAL_VECTOR3 
VAL_VECTOR4 
VAL_COLOURVALUE 
VAL_QUATERNION 

Constructor & Destructor Documentation

local PUScriptTranslator ( )
virtual ~PUScriptTranslator ( )
virtual
var ~PUScriptTranslator ( )
virtual
local ~PUScriptTranslator ( )
virtual

Member Function Documentation

void errorUnexpectedProperty ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Adds an error to the compiler: An unknown property is read.

var errorUnexpectedProperty ( var  compiler,
var  prop 
)

Adds an error to the compiler: An unknown property is read.

local errorUnexpectedProperty ( local  compiler,
local  prop 
)

Adds an error to the compiler: An unknown property is read.

void errorUnexpectedToken ( PUScriptCompiler compiler,
PUAbstractNode node 
)

Adds an error to the compiler: An unknown token is read.

var errorUnexpectedToken ( var  compiler,
var  node 
)

Adds an error to the compiler: An unknown token is read.

local errorUnexpectedToken ( local  compiler,
local  node 
)

Adds an error to the compiler: An unknown token is read.

static bool getBoolean ( const PUAbstractNode node,
bool *  result 
)
static
var getBoolean ( var  node,
var  result 
)
static
local getBoolean ( local  node,
local  result 
)
static
static bool getFloat ( const PUAbstractNode node,
float *  result 
)
static
var getFloat ( var  node,
var  result 
)
static
local getFloat ( local  node,
local  result 
)
static
static bool getInt ( const PUAbstractNode node,
int *  result 
)
static
var getInt ( var  node,
var  result 
)
static
local getInt ( local  node,
local  result 
)
static
bool getQuaternion ( PUAbstractNodeList::const_iterator  i,
PUAbstractNodeList::const_iterator  end,
Quaternion result,
int  maxEntries = 4 
)

Parse Quaternion.

var getQuaternion ( var  i,
var  end,
var  result,
var  maxEntries = 4 
)

Parse Quaternion.

local getQuaternion ( local  i,
local  end,
local  result,
local  maxEntries = 4 
)

Parse Quaternion.

static bool getString ( const PUAbstractNode node,
std::string *  result 
)
static
var getString ( var  node,
var  result 
)
static
local getString ( local  node,
local  result 
)
static
static bool getUInt ( const PUAbstractNode node,
unsigned int *  result 
)
static
var getUInt ( var  node,
var  result 
)
static
local getUInt ( local  node,
local  result 
)
static
bool getVector2 ( PUAbstractNodeList::const_iterator  i,
PUAbstractNodeList::const_iterator  end,
Vec2 result,
int  maxEntries = 2 
)

Parse Vector2.

var getVector2 ( var  i,
var  end,
var  result,
var  maxEntries = 2 
)

Parse Vector2.

local getVector2 ( local  i,
local  end,
local  result,
local  maxEntries = 2 
)

Parse Vector2.

bool getVector3 ( PUAbstractNodeList::const_iterator  i,
PUAbstractNodeList::const_iterator  end,
Vec3 result,
int  maxEntries = 3 
)

Parse Vector3.

var getVector3 ( var  i,
var  end,
var  result,
var  maxEntries = 3 
)

Parse Vector3.

local getVector3 ( local  i,
local  end,
local  result,
local  maxEntries = 3 
)

Parse Vector3.

bool getVector4 ( PUAbstractNodeList::const_iterator  i,
PUAbstractNodeList::const_iterator  end,
Vec4 result,
int  maxEntries = 4 
)

Parse Vector4.

var getVector4 ( var  i,
var  end,
var  result,
var  maxEntries = 4 
)

Parse Vector4.

local getVector4 ( local  i,
local  end,
local  result,
local  maxEntries = 4 
)

Parse Vector4.

virtual bool
isParticleSystemTranslator
( ) const
inlinevirtual

Reimplemented in PUParticleSystem3DTranslator.

var isParticleSystemTranslator ( )
inlinevirtual

Reimplemented in PUParticleSystem3DTranslator.

local isParticleSystemTranslator ( )
inlinevirtual

Reimplemented in PUParticleSystem3DTranslator.

bool passValidateProperty ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop,
const std::string &  token,
ValidationType  validationType 
)

Validate a property.

var passValidateProperty ( var  compiler,
var  prop,
var  token,
var  validationType 
)

Validate a property.

local passValidateProperty ( local  compiler,
local  prop,
local  token,
local  validationType 
)

Validate a property.

bool passValidatePropertyNoValues ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop,
const std::string &  token 
)

Validate whether a property has values.

var passValidatePropertyNoValues ( var  compiler,
var  prop,
var  token 
)

Validate whether a property has values.

local passValidatePropertyNoValues ( local  compiler,
local  prop,
local  token 
)

Validate whether a property has values.

bool
passValidatePropertyNumberOfValues
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop,
const std::string &  token,
unsigned short  numberOfValues 
)

Validate whether the number of values is correct.

var
passValidatePropertyNumberOfValues
( var  compiler,
var  prop,
var  token,
var  numberOfValues 
)

Validate whether the number of values is correct.

local
passValidatePropertyNumberOfValues
( local  compiler,
local  prop,
local  token,
local  numberOfValues 
)

Validate whether the number of values is correct.

bool
passValidatePropertyNumberOfValuesRange
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop,
const std::string &  token,
unsigned short  minNumberOfValues,
unsigned short  maxNumberOfValues 
)

Validate whether the number of values is between a range.

var
passValidatePropertyNumberOfValuesRange
( var  compiler,
var  prop,
var  token,
var  minNumberOfValues,
var  maxNumberOfValues 
)

Validate whether the number of values is between a range.

local
passValidatePropertyNumberOfValuesRange
( local  compiler,
local  prop,
local  token,
local  minNumberOfValues,
local  maxNumberOfValues 
)

Validate whether the number of values is between a range.

bool passValidatePropertyValidBool ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct bool.

var passValidatePropertyValidBool ( var  compiler,
var  prop 
)

Validate whether the value is a correct bool.

local passValidatePropertyValidBool ( local  compiler,
local  prop 
)

Validate whether the value is a correct bool.

bool passValidatePropertyValidInt ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct int.

var passValidatePropertyValidInt ( var  compiler,
var  prop 
)

Validate whether the value is a correct int.

local passValidatePropertyValidInt ( local  compiler,
local  prop 
)

Validate whether the value is a correct int.

bool
passValidatePropertyValidQuaternion
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct Quaternion.

var
passValidatePropertyValidQuaternion
( var  compiler,
var  prop 
)

Validate whether the value is a correct Quaternion.

local
passValidatePropertyValidQuaternion
( local  compiler,
local  prop 
)

Validate whether the value is a correct Quaternion.

bool passValidatePropertyValidReal ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct Real.

var passValidatePropertyValidReal ( var  compiler,
var  prop 
)

Validate whether the value is a correct Real.

local passValidatePropertyValidReal ( local  compiler,
local  prop 
)

Validate whether the value is a correct Real.

bool passValidatePropertyValidUint ( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct uint.

var passValidatePropertyValidUint ( var  compiler,
var  prop 
)

Validate whether the value is a correct uint.

local passValidatePropertyValidUint ( local  compiler,
local  prop 
)

Validate whether the value is a correct uint.

bool
passValidatePropertyValidVector2
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct Vector2.

var
passValidatePropertyValidVector2
( var  compiler,
var  prop 
)

Validate whether the value is a correct Vector2.

local
passValidatePropertyValidVector2
( local  compiler,
local  prop 
)

Validate whether the value is a correct Vector2.

bool
passValidatePropertyValidVector3
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct Vector3.

var
passValidatePropertyValidVector3
( var  compiler,
var  prop 
)

Validate whether the value is a correct Vector3.

local
passValidatePropertyValidVector3
( local  compiler,
local  prop 
)

Validate whether the value is a correct Vector3.

bool
passValidatePropertyValidVector4
( PUScriptCompiler compiler,
PUPropertyAbstractNode prop 
)

Validate whether the value is a correct Vector4.

var
passValidatePropertyValidVector4
( var  compiler,
var  prop 
)

Validate whether the value is a correct Vector4.

local
passValidatePropertyValidVector4
( local  compiler,
local  prop 
)

Validate whether the value is a correct Vector4.

void processNode ( PUScriptCompiler compiler,
PUAbstractNode node 
)
var processNode ( var  compiler,
var  node 
)
local processNode ( local  compiler,
local  node 
)
virtual bool translateChildObject ( PUScriptCompiler compiler,
PUAbstractNode node 
)
inlinevirtual

Only parses a certain child objec.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.

var translateChildObject ( var  compiler,
var  node 
)
inlinevirtual

Only parses a certain child objec.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.

local translateChildObject ( local  compiler,
local  node 
)
inlinevirtual

Only parses a certain child objec.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.

virtual bool translateChildProperty ( PUScriptCompiler compiler,
PUAbstractNode node 
)
inlinevirtual

Only parses a certain child property.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.

var translateChildProperty ( var  compiler,
var  node 
)
inlinevirtual

Only parses a certain child property.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.

local translateChildProperty ( local  compiler,
local  node 
)
inlinevirtual

Only parses a certain child property.

Reimplemented in PUAlignAffectorTranslator, PUBaseColliderTranslator, PUBaseForceAffectorTranslator, PUBoxColliderTranslator, CCPUBoxEmitterTranslator, PUCircleEmitterTranslator, PUCollisionAvoidanceAffectorTranslator, PUColorAffectorTranslator, PUDoAffectorEventHandlerTranslator, PUDoEnableComponentEventHandlerTranslator, PUDoExpireEventHandlerTranslator, PUDoFreezeEventHandlerTranslator, PUDoPlacementParticleEventHandlerTranslator, PUDoScaleEventHandlerTranslator, PUDoStopSystemEventHandlerTranslator, PUFlockCenteringAffectorTranslator, PUForceFieldAffectorTranslator, PUGeometryRotatorTranslator, PUGravityAffectorTranslator, PUInterParticleColliderTranslator, PUJetAffectorTranslator, PULineAffectorTranslator, PULinearForceAffectorTranslator, PULineEmitterTranslator, PUMeshSurfaceEmitterTranslator, PUOnClearObserverTranslator, PUOnCollisionObserverTranslator, PUOnCountObserverTranslator, PUOnEmissionObserverTranslator, PUOnEventFlagObserverTranslator, PUOnExpireObserverTranslator, PUOnPositionObserverTranslator, PUOnRandomObserverTranslator, PUOnTimeObserverTranslator, PUOnVelocityObserverTranslator, PUParticleFollowerTranslator, PUPathFollowerTranslator, PUPlaneColliderTranslator, PUPointEmitterTranslator, PUPositionEmitterTranslator, PURandomiserTranslator, PUScaleAffectorTranslator, PUScaleVelocityAffectorTranslator, PUSineForceAffectorTranslator, PUSlaveBehaviourTranslator, PUSlaveEmitterTranslator, PUSphereColliderTranslator, PUSphereSurfaceEmitterTranslator, PUTextureAnimatorTranslator, PUTextureRotatorTranslator, PUVelocityMatchingAffectorTranslator, PUVortexAffectorTranslator, and PUOnQuotaObserverTranslator.


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