C# Класс Rhino.InterpretedFunction

Наследование: NativeFunction, System.Script
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object

Calls the function.

Calls the function.

Exec ( Context cx, Scriptable scope ) : object
GetDebuggableView ( ) : DebuggableScript
GetEncodedSource ( ) : string
GetFunctionName ( ) : string
IsScript ( ) : bool
ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object

Защищенные методы

Метод Описание
GetLanguageVersion ( ) : int
GetParamAndVarCount ( ) : int
GetParamCount ( ) : int
GetParamOrVarConst ( int index ) : bool
GetParamOrVarName ( int index ) : string

Приватные методы

Метод Описание
CreateFunction ( Context cx, Scriptable scope, InterpreterData idata, object staticSecurityDomain ) : InterpretedFunction

Create function compiled from Function(...) constructor.

Create function compiled from Function(...) constructor.

CreateFunction ( Context cx, Scriptable scope, Rhino parent, int index ) : InterpretedFunction

Create function embedded in script or another function.

Create function embedded in script or another function.

CreateScript ( InterpreterData idata, object staticSecurityDomain ) : InterpretedFunction

Create script from compiled bytecode.

Create script from compiled bytecode.

InterpretedFunction ( InterpreterData idata, object staticSecurityDomain ) : System
InterpretedFunction ( Rhino parent, int index ) : System

Описание методов

Call() публичный Метод

Calls the function.
Calls the function.
public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context the current context
scope Scriptable the scope used for the call
thisObj Scriptable the value of "this"
args object /// function arguments. Must not be null. You can use /// ScriptRuntime.emptyArgs /// to pass empty arguments. ///
Результат object

Exec() публичный Метод

public Exec ( Context cx, Scriptable scope ) : object
cx Context
scope Scriptable
Результат object

GetDebuggableView() публичный Метод

public GetDebuggableView ( ) : DebuggableScript
Результат DebuggableScript

GetEncodedSource() публичный Метод

public GetEncodedSource ( ) : string
Результат string

GetFunctionName() публичный Метод

public GetFunctionName ( ) : string
Результат string

GetLanguageVersion() защищенный Метод

protected GetLanguageVersion ( ) : int
Результат int

GetParamAndVarCount() защищенный Метод

protected GetParamAndVarCount ( ) : int
Результат int

GetParamCount() защищенный Метод

protected GetParamCount ( ) : int
Результат int

GetParamOrVarConst() защищенный Метод

protected GetParamOrVarConst ( int index ) : bool
index int
Результат bool

GetParamOrVarName() защищенный Метод

protected GetParamOrVarName ( int index ) : string
index int
Результат string

IsScript() публичный Метод

public IsScript ( ) : bool
Результат bool

ResumeGenerator() публичный Метод

public ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object
cx Context
scope Scriptable
operation int
state object
value object
Результат object