메소드 | 설명 | |
---|---|---|
Clean ( ) : void |
Cleans Scope (Removes items)
|
|
GetFunctionDefinition ( string name ) : IInvokable |
Gets Invokable object (Function) by a given name
|
|
GetItem ( string id, bool throwException ) : object |
Returns value of the variable. Throws ScriptIdNotFoundException
|
|
HasVariable ( string id ) : bool |
Returns true if excatly this scope has variable with given id
|
|
ScriptScope ( ) : System |
Default Constructor
|
|
ScriptScope ( IScriptScope parent ) : System | ||
SetItem ( string id, object value ) : void |
Sets Item: variable or type
|
메소드 | 설명 | |
---|---|---|
GetVariableInternal ( string id, bool searchHierarchy ) : object |
Searches the scope hierarchy for the given id, should return NoVariable if it is not found
|
public GetFunctionDefinition ( string name ) : IInvokable | ||
name | string | Name |
리턴 | IInvokable |
public GetItem ( string id, bool throwException ) : object | ||
id | string | Variable ID |
throwException | bool | |
리턴 | object |
protected GetVariableInternal ( string id, bool searchHierarchy ) : object | ||
id | string | |
searchHierarchy | bool | |
리턴 | object |
public ScriptScope ( IScriptScope parent ) : System | ||
parent | IScriptScope | |
리턴 | System |
public SetItem ( string id, object value ) : void | ||
id | string | item's id |
value | object | value |
리턴 | void |