C# Class Jint.Native.JsScope

Inheritance: JsDictionaryObject
Show file Open project: splhack/unity-jint Class Usage Examples

Public Properties

Property Type Description
ARGUMENTS string
THIS string

Public Methods

Method Description
GetDescriptor ( string index ) : Descriptor

Overriden. Returns a property descriptor.

Tries to resolve proeprty in the following order: 1. OwnProperty for the current scope 2. Any property from the bag (if specified). 3. A property from scopes hierarchy.

GetKeys ( ) : IEnumerable
GetValues ( ) : IEnumerable
JsScope ( ) : System

Creates a new Global scope

JsScope ( JsDictionaryObject bag ) : System
JsScope ( JsScope outer ) : System

Creates a new scope inside the specified scope

JsScope ( JsScope outer, JsDictionaryObject bag ) : System
this ( string index ) : JsInstance

Private Methods

Method Description
baseGetDescriptor ( string key ) : Descriptor
baseGetKeys ( ) : IEnumerable

Method Details

GetDescriptor() public method

Overriden. Returns a property descriptor.
Tries to resolve proeprty in the following order: 1. OwnProperty for the current scope 2. Any property from the bag (if specified). 3. A property from scopes hierarchy.
public GetDescriptor ( string index ) : Descriptor
index string Property name.
return Descriptor

GetKeys() public method

public GetKeys ( ) : IEnumerable
return IEnumerable

GetValues() public method

public GetValues ( ) : IEnumerable
return IEnumerable

JsScope() public method

Creates a new Global scope
public JsScope ( ) : System
return System

JsScope() public method

public JsScope ( JsDictionaryObject bag ) : System
bag JsDictionaryObject
return System

JsScope() public method

Creates a new scope inside the specified scope
public JsScope ( JsScope outer ) : System
outer JsScope Scope inside which the new scope should be created
return System

JsScope() public method

public JsScope ( JsScope outer, JsDictionaryObject bag ) : System
outer JsScope
bag JsDictionaryObject
return System

this() public method

public this ( string index ) : JsInstance
index string
return JsInstance

Property Details

ARGUMENTS public static property

public static string ARGUMENTS
return string

THIS public static property

public static string THIS
return string