C# Класс AjTalk.Language.Block

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

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

Метод Описание
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

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

Метод Описание
TryCompileGet ( string name ) : bool
TryCompileSet ( string name ) : bool

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

Метод Описание
CompileByte ( byte b ) : void
IsValueMessage ( string msgname ) : bool

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

Block() публичный метод

public Block ( ) : System
Результат System

Block() публичный метод

public Block ( string sourcecode ) : System
sourcecode string
Результат System

Block() публичный метод

public Block ( string sourcecode, Block outer ) : System
sourcecode string
outer Block
Результат System

Clone() публичный метод

public Clone ( ExecutionContext closure ) : Block
closure ExecutionContext
Результат Block

CompileArgument() публичный метод

public CompileArgument ( string argname ) : void
argname string
Результат void

CompileBinarySend() публичный метод

public CompileBinarySend ( string msgname ) : void
msgname string
Результат void

CompileBlockJumpByteCodeAt() публичный метод

public CompileBlockJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
b ByteCode
jump short
position int
Результат void

CompileByteCode() публичный метод

public CompileByteCode ( ByteCode b ) : void
b ByteCode
Результат void

CompileByteCode() публичный метод

public CompileByteCode ( ByteCode b, byte arg ) : void
b ByteCode
arg byte
Результат void

CompileByteCode() публичный метод

public CompileByteCode ( ByteCode b, byte arg1, byte arg2 ) : void
b ByteCode
arg1 byte
arg2 byte
Результат void

CompileByteCodeAt() публичный метод

public CompileByteCodeAt ( ByteCode b, int position ) : void
b ByteCode
position int
Результат void

CompileConstant() публичный метод

public CompileConstant ( object obj ) : byte
obj object
Результат byte

CompileGet() публичный метод

public CompileGet ( string name ) : void
name string
Результат void

CompileGetBlock() публичный метод

public CompileGetBlock ( object obj ) : void
obj object
Результат void

CompileGetConstant() публичный метод

public CompileGetConstant ( object obj ) : void
obj object
Результат void

CompileGetDotNetType() публичный метод

public CompileGetDotNetType ( string name ) : void
name string
Результат void

CompileGlobal() публичный метод

public CompileGlobal ( string globalname ) : byte
globalname string
Результат byte

CompileInsert() публичный метод

public CompileInsert ( int position, int count ) : void
position int
count int
Результат void

CompileInvokeDotNet() публичный метод

public CompileInvokeDotNet ( string msgname ) : void
msgname string
Результат void

CompileJumpByteCode() публичный метод

public CompileJumpByteCode ( ByteCode b, short jump ) : void
b ByteCode
jump short
Результат void

CompileJumpByteCodeAt() публичный метод

public CompileJumpByteCodeAt ( ByteCode b, short jump, int position ) : void
b ByteCode
jump short
position int
Результат void

CompileLocal() публичный метод

public CompileLocal ( string localname ) : void
localname string
Результат void

CompileSend() публичный метод

public CompileSend ( string msgname ) : void
msgname string
Результат void

CompileSet() публичный метод

public CompileSet ( string name ) : void
name string
Результат void

CreateContext() публичный метод

public CreateContext ( System.Machine machine, object args ) : ExecutionContext
machine System.Machine
args object
Результат ExecutionContext

Execute() публичный метод

public Execute ( System.Machine machine, object args ) : object
machine System.Machine
args object
Результат object

ExecuteInInterpreter() публичный метод

public ExecuteInInterpreter ( Interpreter interpreter, object args ) : object
interpreter Interpreter
args object
Результат object

GetArgumentName() публичный метод

public GetArgumentName ( int na ) : string
na int
Результат string

GetClassVariableName() публичный метод

public GetClassVariableName ( int n ) : string
n int
Результат string

GetConstant() публичный метод

public GetConstant ( int nc ) : object
nc int
Результат object

GetGlobalName() публичный метод

public GetGlobalName ( int ng ) : string
ng int
Результат string

GetInstanceVariableName() публичный метод

public GetInstanceVariableName ( int n ) : string
n int
Результат string

GetInstanceVariableOffset() публичный метод

public GetInstanceVariableOffset ( string name ) : int
name string
Результат int

GetLocalName() публичный метод

public GetLocalName ( int nl ) : string
nl int
Результат string

MessageArity() публичный статический метод

public static MessageArity ( string msgname ) : byte
msgname string
Результат byte

TryCompileGet() защищенный метод

protected TryCompileGet ( string name ) : bool
name string
Результат bool

TryCompileSet() защищенный метод

protected TryCompileSet ( string name ) : bool
name string
Результат bool