C# Class AjTalk.Language.BaseBehavior

Inheritance: BaseObject, IBehavior
Mostrar archivo Open project: ajlopez/AjTalk Class Usage Examples

Public Methods

Method Description
AddTrait ( IBehavior trait ) : void
BaseBehavior ( IBehavior behavior, IBehavior superclass, System.Machine machine ) : System
DefineClassMethod ( IMethod method ) : void
DefineInstanceMethod ( IMethod method ) : void
GetClassMethod ( string mthname ) : IMethod
GetClassMethods ( ) : ICollection
GetInstanceMethod ( string mthname ) : IMethod
GetInstanceMethods ( ) : ICollection
NewObject ( ) : object
SendMessageToNilObject ( System.Machine machine, string msgname, object args ) : object
SendMessageToObject ( IObject self, Interpreter interpreter, string msgname, object args ) : object
SendMessageToObject ( IObject self, System.Machine machine, string msgname, object args ) : object
SetSuperClass ( IBehavior superclass ) : void

Method Details

AddTrait() public method

public AddTrait ( IBehavior trait ) : void
trait IBehavior
return void

BaseBehavior() public method

public BaseBehavior ( IBehavior behavior, IBehavior superclass, System.Machine machine ) : System
behavior IBehavior
superclass IBehavior
machine System.Machine
return System

DefineClassMethod() public method

public DefineClassMethod ( IMethod method ) : void
method IMethod
return void

DefineInstanceMethod() public method

public DefineInstanceMethod ( IMethod method ) : void
method IMethod
return void

GetClassMethod() public method

public GetClassMethod ( string mthname ) : IMethod
mthname string
return IMethod

GetClassMethods() public method

public GetClassMethods ( ) : ICollection
return ICollection

GetInstanceMethod() public method

public GetInstanceMethod ( string mthname ) : IMethod
mthname string
return IMethod

GetInstanceMethods() public method

public GetInstanceMethods ( ) : ICollection
return ICollection

NewObject() public method

public NewObject ( ) : object
return object

SendMessageToNilObject() public method

public SendMessageToNilObject ( System.Machine machine, string msgname, object args ) : object
machine System.Machine
msgname string
args object
return object

SendMessageToObject() public method

public SendMessageToObject ( IObject self, Interpreter interpreter, string msgname, object args ) : object
self IObject
interpreter Interpreter
msgname string
args object
return object

SendMessageToObject() public method

public SendMessageToObject ( IObject self, System.Machine machine, string msgname, object args ) : object
self IObject
machine System.Machine
msgname string
args object
return object

SetSuperClass() public method

public SetSuperClass ( IBehavior superclass ) : void
superclass IBehavior
return void