![]() |
BadScript 2
|
Public Member Functions | |
| BadMemberInfo (string name, BadScope scope) | |
| override bool | HasProperty (string propName, BadScope? caller=null) |
| Returns true if the object contains a given property or there exists an extension for the current Instance. | |
| override BadObjectReference | GetProperty (string propName, BadScope? caller=null) |
| Returns a Reference to the Property with the given Name. | |
| override BadClassPrototype | GetPrototype () |
| override string | ToSafeString (List< BadObject > done) |
Public Member Functions inherited from BadScript2.Runtime.Objects.BadObject | |
| BadClassPrototype | GetPrototype () |
| Returns the Prototype of this Object. | |
| string | ToSafeString (List< BadObject > done) |
| Returns a String Representation of this Object. This function is recursion proof and supports circular references. | |
| override string | ToString () |
| Returns a String Representation of this Object. | |
Properties | |
| static BadClassPrototype | Prototype [get] |
Private Member Functions | |
| BadObject | GetAttributes (BadExecutionContext ctx, BadObject[] args) |
| BadObject | GetValue (BadExecutionContext ctx, BadObject[] args) |
| BadObject | SetValue (BadExecutionContext ctx, BadObject[] args) |
Private Attributes | |
| readonly string | m_Name |
| readonly BadScope | m_Scope |
| readonly BadObjectReference | m_NameReference |
| readonly BadObjectReference | m_GetAttributesReference |
| readonly BadObjectReference | m_GetValueReference |
| readonly BadObjectReference | m_SetValueReference |
| readonly BadObjectReference | m_IsReadonlyReference |
| readonly BadObjectReference | m_MemberTypeReference |
Static Private Attributes | |
| static readonly BadNativeClassPrototype< BadMemberInfo > | s_Prototype |
Additional Inherited Members | |
Static Public Member Functions inherited from BadScript2.Runtime.Objects.BadObject | |
| static bool | CanWrap (object? o) |
| Returns true if the given object cam be wrapped. | |
| static BadObject | Wrap< T > (T obj, bool allowNative=true) |
| Wraps the given object into a BadObject Instance. | |
| static implicit | operator BadObject (bool b) |
| Implicit Converstion from Boolean to BadObject. | |
| static implicit | operator BadObject (BadNullable< bool > b) |
| Converts the given object to a BadObject Instance. | |
| static implicit | operator BadObject (decimal d) |
| Implicit Converstion from Number to BadObject. | |
| static implicit | operator BadObject (BadNullable< decimal > b) |
| Converts the given object to a BadObject Instance. | |
| static implicit | operator BadObject (string s) |
| Implicit Converstion from String to BadObject. | |
| static implicit | operator BadObject (BadNullable< string > b) |
| Converts the given object to a BadObject Instance. | |
Static Public Attributes inherited from BadScript2.Runtime.Objects.BadObject | |
| static readonly BadObject | Null = new BadNullObject() |
| The Null Value for the BadScript Language. | |
| static readonly BadObject | True = new BadBoolean(true) |
| The True Value for the BadScript Language. | |
| static readonly BadObject | False = new BadBoolean(false) |
| The False Value for the BadScript Language. | |
Definition at line 115 of file BadScope.cs.
| BadScript2.Runtime.BadMemberInfo.BadMemberInfo | ( | string | name, |
| BadScope | scope | ||
| ) |
Definition at line 134 of file BadScope.cs.
|
private |
Definition at line 153 of file BadScope.cs.
|
virtual |
Returns a Reference to the Property with the given Name.
| propName | The Property Name |
| caller | The caller Scope |
Reimplemented from BadScript2.Runtime.Objects.BadObject.
Definition at line 202 of file BadScope.cs.
| override BadClassPrototype BadScript2.Runtime.BadMemberInfo.GetPrototype | ( | ) |
Definition at line 224 of file BadScope.cs.
|
private |
Definition at line 163 of file BadScope.cs.
|
virtual |
Returns true if the object contains a given property or there exists an extension for the current Instance.
| propName | The Property Name |
| caller | The caller Scope |
Reimplemented from BadScript2.Runtime.Objects.BadObject.
Definition at line 186 of file BadScope.cs.
|
private |
Definition at line 168 of file BadScope.cs.
| override string BadScript2.Runtime.BadMemberInfo.ToSafeString | ( | List< BadObject > | done | ) |
Definition at line 229 of file BadScope.cs.
|
private |
Definition at line 128 of file BadScope.cs.
|
private |
Definition at line 129 of file BadScope.cs.
|
private |
Definition at line 131 of file BadScope.cs.
|
private |
Definition at line 132 of file BadScope.cs.
|
private |
Definition at line 117 of file BadScope.cs.
|
private |
Definition at line 127 of file BadScope.cs.
|
private |
Definition at line 118 of file BadScope.cs.
|
private |
Definition at line 130 of file BadScope.cs.
|
staticprivate |
Definition at line 119 of file BadScope.cs.
|
staticget |
Definition at line 125 of file BadScope.cs.