C# Class Pokemon3D.Scripting.Types.Prototypes.Prototype

Represents an object from which other objects can be created.
Inheritance: SProtoObject
Exibir arquivo Open project: nilllzz/Pokemon3D Class Usage Examples

Private Properties

Property Type Description
AddMember void
AddObjectPrototypeAsExtends void
CreateInstance SProtoObject
ExecuteMethod SObject
GetIndexerGetFunction SFunction
GetIndexerSetFunction SFunction
GetInstanceMembers IEnumerable
GetMember SObject
GetReadOnlyInstanceMembers IEnumerable
HasMember bool
InitializeStatic void
IsPrototype bool
IsReadOnlyMember bool
IsStaticMember bool
Parse SObject
ParseFunctionStatement PrototypeMember
ParseVarStatement string>.Tuple
Prototype System
SetMember void
ToScriptObject string
ToScriptSource string

Protected Methods

Method Description
CreateBaseObject ( ) : SProtoObject

Creates the base object for this Prototype's instantiation method.

Private Methods

Method Description
AddMember ( ScriptProcessor processor, PrototypeMember member ) : void
AddObjectPrototypeAsExtends ( ScriptProcessor processor ) : void
CreateInstance ( ScriptProcessor processor, SObject parameters, bool executeCtor ) : SProtoObject

Creates an instance derived from this prototype.

ExecuteMethod ( ScriptProcessor processor, string methodName, SObject caller, SObject This, SObject parameters ) : SObject
GetIndexerGetFunction ( ) : SFunction
GetIndexerSetFunction ( ) : SFunction
GetInstanceMembers ( ) : IEnumerable
GetMember ( ScriptProcessor processor, SObject accessor, bool isIndexer ) : SObject
GetReadOnlyInstanceMembers ( ) : IEnumerable
HasMember ( ScriptProcessor processor, string memberName ) : bool
InitializeStatic ( ) : void
IsPrototype ( Type t ) : bool
IsReadOnlyMember ( string memberName ) : bool

Returns if the given member is readonly.

IsStaticMember ( string memberName ) : bool

Returns if the given member is static.

Parse ( ScriptProcessor processor, string code ) : SObject
ParseFunctionStatement ( ScriptProcessor processor, ScriptStatement headerStatement, ScriptStatement bodyStatement ) : PrototypeMember
ParseVarStatement ( ScriptProcessor processor, ScriptStatement statement ) : string>.Tuple
Prototype ( string name ) : System
SetMember ( ScriptProcessor processor, SObject accessor, bool isIndexer, SObject value ) : void
ToScriptObject ( ) : string
ToScriptSource ( ) : string

Method Details

CreateBaseObject() protected method

Creates the base object for this Prototype's instantiation method.
protected CreateBaseObject ( ) : SProtoObject
return SProtoObject