![]() |
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 Lazy< BadObjectReference > | m_GetAttributesReference |
| readonly Lazy< BadObjectReference > | m_GetValueReference |
| readonly Lazy< BadObjectReference > | m_IsReadonlyReference |
| readonly Lazy< BadObjectReference > | m_MemberTypeReference |
| readonly string | m_Name |
| readonly Lazy< BadObjectReference > | m_NameReference |
| readonly BadScope | m_Scope |
| readonly Lazy< BadObjectReference > | m_SetValueReference |
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 (DateTimeOffset d) |
| static implicit | operator BadObject (TimeSpan t) |
| 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 10 of file BadMemberInfo.cs.
| BadScript2.Runtime.BadMemberInfo.BadMemberInfo | ( | string | name, |
| BadScope | scope | ||
| ) |
Definition at line 29 of file BadMemberInfo.cs.
|
private |
Definition at line 95 of file BadMemberInfo.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 148 of file BadMemberInfo.cs.
| override BadClassPrototype BadScript2.Runtime.BadMemberInfo.GetPrototype | ( | ) |
Definition at line 170 of file BadMemberInfo.cs.
|
private |
Definition at line 105 of file BadMemberInfo.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 132 of file BadMemberInfo.cs.
|
private |
Definition at line 111 of file BadMemberInfo.cs.
| override string BadScript2.Runtime.BadMemberInfo.ToSafeString | ( | List< BadObject > | done | ) |
Definition at line 175 of file BadMemberInfo.cs.
|
private |
Definition at line 19 of file BadMemberInfo.cs.
|
private |
Definition at line 20 of file BadMemberInfo.cs.
|
private |
Definition at line 21 of file BadMemberInfo.cs.
|
private |
Definition at line 22 of file BadMemberInfo.cs.
|
private |
Definition at line 23 of file BadMemberInfo.cs.
|
private |
Definition at line 25 of file BadMemberInfo.cs.
|
private |
Definition at line 26 of file BadMemberInfo.cs.
|
private |
Definition at line 27 of file BadMemberInfo.cs.
|
staticprivate |
Definition at line 12 of file BadMemberInfo.cs.
|
staticget |
Definition at line 93 of file BadMemberInfo.cs.