C# Class AjTalk.Language.Block

Inheritance: IBlock
Afficher le fichier Open project: ajlopez/AjTalk Class Usage Examples

Méthodes publiques

Méthode Description
Block ( ) : System
Block ( string sourcecode ) : System
Block ( string sourcecode, Block outer ) : System
Clone ( ExecutionContext closure ) : Block
CompileArgument ( string argname ) : void
CompileBinarySend ( string msgname ) : void
CompileBlockJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
CompileByteCode ( ByteCode b ) : void
CompileByteCode ( ByteCode b, byte arg ) : void
CompileByteCode ( ByteCode b, byte arg1, byte arg2 ) : void
CompileByteCodeAt ( ByteCode b, int position ) : void
CompileConstant ( object obj ) : byte
CompileGet ( string name ) : void
CompileGetBlock ( object obj ) : void
CompileGetConstant ( object obj ) : void
CompileGetDotNetType ( string name ) : void
CompileGlobal ( string globalname ) : byte
CompileInsert ( int position, int count ) : void
CompileInvokeDotNet ( string msgname ) : void
CompileJumpByteCode ( ByteCode b, short jump ) : void
CompileJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
CompileLocal ( string localname ) : void
CompileSend ( string msgname ) : void
CompileSet ( string name ) : void
CreateContext ( System.Machine machine, object args ) : ExecutionContext
Execute ( System.Machine machine, object args ) : object
ExecuteInInterpreter ( Interpreter interpreter, object args ) : object
GetArgumentName ( int na ) : string
GetClassVariableName ( int n ) : string
GetConstant ( int nc ) : object
GetGlobalName ( int ng ) : string
GetInstanceVariableName ( int n ) : string
GetInstanceVariableOffset ( string name ) : int
GetLocalName ( int nl ) : string
MessageArity ( string msgname ) : byte

Méthodes protégées

Méthode Description
TryCompileGet ( string name ) : bool
TryCompileSet ( string name ) : bool

Private Methods

Méthode Description
CompileByte ( byte b ) : void
IsValueMessage ( string msgname ) : bool

Method Details

Block() public méthode

public Block ( ) : System
Résultat System

Block() public méthode

public Block ( string sourcecode ) : System
sourcecode string
Résultat System

Block() public méthode

public Block ( string sourcecode, Block outer ) : System
sourcecode string
outer Block
Résultat System

Clone() public méthode

public Clone ( ExecutionContext closure ) : Block
closure ExecutionContext
Résultat Block

CompileArgument() public méthode

public CompileArgument ( string argname ) : void
argname string
Résultat void

CompileBinarySend() public méthode

public CompileBinarySend ( string msgname ) : void
msgname string
Résultat void

CompileBlockJumpByteCodeAt() public méthode

public CompileBlockJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
b ByteCode
jump short
position int
Résultat void

CompileByteCode() public méthode

public CompileByteCode ( ByteCode b ) : void
b ByteCode
Résultat void

CompileByteCode() public méthode

public CompileByteCode ( ByteCode b, byte arg ) : void
b ByteCode
arg byte
Résultat void

CompileByteCode() public méthode

public CompileByteCode ( ByteCode b, byte arg1, byte arg2 ) : void
b ByteCode
arg1 byte
arg2 byte
Résultat void

CompileByteCodeAt() public méthode

public CompileByteCodeAt ( ByteCode b, int position ) : void
b ByteCode
position int
Résultat void

CompileConstant() public méthode

public CompileConstant ( object obj ) : byte
obj object
Résultat byte

CompileGet() public méthode

public CompileGet ( string name ) : void
name string
Résultat void

CompileGetBlock() public méthode

public CompileGetBlock ( object obj ) : void
obj object
Résultat void

CompileGetConstant() public méthode

public CompileGetConstant ( object obj ) : void
obj object
Résultat void

CompileGetDotNetType() public méthode

public CompileGetDotNetType ( string name ) : void
name string
Résultat void

CompileGlobal() public méthode

public CompileGlobal ( string globalname ) : byte
globalname string
Résultat byte

CompileInsert() public méthode

public CompileInsert ( int position, int count ) : void
position int
count int
Résultat void

CompileInvokeDotNet() public méthode

public CompileInvokeDotNet ( string msgname ) : void
msgname string
Résultat void

CompileJumpByteCode() public méthode

public CompileJumpByteCode ( ByteCode b, short jump ) : void
b ByteCode
jump short
Résultat void

CompileJumpByteCodeAt() public méthode

public CompileJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
b ByteCode
jump short
position int
Résultat void

CompileLocal() public méthode

public CompileLocal ( string localname ) : void
localname string
Résultat void

CompileSend() public méthode

public CompileSend ( string msgname ) : void
msgname string
Résultat void

CompileSet() public méthode

public CompileSet ( string name ) : void
name string
Résultat void

CreateContext() public méthode

public CreateContext ( System.Machine machine, object args ) : ExecutionContext
machine System.Machine
args object
Résultat ExecutionContext

Execute() public méthode

public Execute ( System.Machine machine, object args ) : object
machine System.Machine
args object
Résultat object

ExecuteInInterpreter() public méthode

public ExecuteInInterpreter ( Interpreter interpreter, object args ) : object
interpreter Interpreter
args object
Résultat object

GetArgumentName() public méthode

public GetArgumentName ( int na ) : string
na int
Résultat string

GetClassVariableName() public méthode

public GetClassVariableName ( int n ) : string
n int
Résultat string

GetConstant() public méthode

public GetConstant ( int nc ) : object
nc int
Résultat object

GetGlobalName() public méthode

public GetGlobalName ( int ng ) : string
ng int
Résultat string

GetInstanceVariableName() public méthode

public GetInstanceVariableName ( int n ) : string
n int
Résultat string

GetInstanceVariableOffset() public méthode

public GetInstanceVariableOffset ( string name ) : int
name string
Résultat int

GetLocalName() public méthode

public GetLocalName ( int nl ) : string
nl int
Résultat string

MessageArity() public static méthode

public static MessageArity ( string msgname ) : byte
msgname string
Résultat byte

TryCompileGet() protected méthode

protected TryCompileGet ( string name ) : bool
name string
Résultat bool

TryCompileSet() protected méthode

protected TryCompileSet ( string name ) : bool
name string
Résultat bool