C# Class AjTalk.Language.Method

Inheritance: Block, IMethod
Mostrar archivo Open project: ajlopez/AjTalk Class Usage Examples

Public Methods

Method Description
CompileGet ( string name ) : void
CompileSet ( string name ) : void
Execute ( System.Machine machine, IObject self, object args ) : object
Execute ( System.Machine machine, object args ) : object
ExecuteInInterpreter ( Interpreter interpreter, IObject self, object args ) : object
ExecuteNative ( System.Machine machine, object self, object args ) : object
ExecuteNativeInInterpreter ( Interpreter interpreter, object self, object args ) : object
GetClassVariableName ( int n ) : string
GetInstanceVariableName ( int n ) : string
GetInstanceVariableOffset ( string name ) : int
Method ( IBehavior cls, string name ) : System
Method ( IBehavior cls, string name, string source ) : System
Method ( string name ) : System

Protected Methods

Method Description
TryCompileGet ( string name ) : bool
TryCompileSet ( string name ) : bool

Private Methods

Method Description
SetBehavior ( IBehavior behavior ) : void

Method Details

CompileGet() public method

public CompileGet ( string name ) : void
name string
return void

CompileSet() public method

public CompileSet ( string name ) : void
name string
return void

Execute() public method

public Execute ( System.Machine machine, IObject self, object args ) : object
machine System.Machine
self IObject
args object
return object

Execute() public method

public Execute ( System.Machine machine, object args ) : object
machine System.Machine
args object
return object

ExecuteInInterpreter() public method

public ExecuteInInterpreter ( Interpreter interpreter, IObject self, object args ) : object
interpreter Interpreter
self IObject
args object
return object

ExecuteNative() public method

public ExecuteNative ( System.Machine machine, object self, object args ) : object
machine System.Machine
self object
args object
return object

ExecuteNativeInInterpreter() public method

public ExecuteNativeInInterpreter ( Interpreter interpreter, object self, object args ) : object
interpreter Interpreter
self object
args object
return object

GetClassVariableName() public method

public GetClassVariableName ( int n ) : string
n int
return string

GetInstanceVariableName() public method

public GetInstanceVariableName ( int n ) : string
n int
return string

GetInstanceVariableOffset() public method

public GetInstanceVariableOffset ( string name ) : int
name string
return int

Method() public method

public Method ( IBehavior cls, string name ) : System
cls IBehavior
name string
return System

Method() public method

public Method ( IBehavior cls, string name, string source ) : System
cls IBehavior
name string
source string
return System

Method() public method

public Method ( string name ) : System
name string
return System

TryCompileGet() protected method

protected TryCompileGet ( string name ) : bool
name string
return bool

TryCompileSet() protected method

protected TryCompileSet ( string name ) : bool
name string
return bool