C# Class Kirikiri.Tjs2.InterCodeObject

TJS2 バイトコードを持ったオブジェクト
Inheritance: CustomObject, SourceCodeAccessor
Datei anzeigen Open project: fantasydr/krkr-cs Class Usage Examples

Public Methods

Method Description
CharacterCodeFrom ( Variant val ) : void
CharacterCodeOf ( Variant val ) : void
CodePosToSrcPos ( int codepos ) : int
Compact ( ) : void
CreateNew ( int flag, string membername, Holder result, Variant param, Dispatch2 objthis ) : int
DateReplace ( Compiler compiler ) : void

DaraArray の中の InterCodeGenerator を InterCodeObject に差し替える

DeleteMember ( int flag, string membername, Dispatch2 objthis ) : int
Disassemble ( ScriptBlock data, int start, int end ) : void
FindSrcLineStartCodePos ( int codepos ) : int

同一行の最初のコード位置を得る

FuncCall ( int flag, string membername, Variant result, Variant param, Dispatch2 objthis ) : int
GetCodeSize ( ) : int
GetContextTypeName ( ) : string
GetCount ( IntWrapper result, string membername, Dispatch2 objthis ) : int
GetDataSize ( ) : int
GetLine ( int line ) : string
GetLineOffset ( ) : int
GetName ( ) : string
GetPositionDescriptionString ( int codepos ) : string
GetScript ( ) : string
InterCodeObject ( ScriptBlock block, string name, int type, short code, Variant da, int varcount, int verrescount, int maxframe, int argcount, int arraybase, int colbase, bool srcsorted, LongBuffer srcpos, int superpointer ) : System
Invalidate ( int flag, string membername, Dispatch2 objthis ) : int
IsInstanceOf ( int flag, string membername, string classname, Dispatch2 objthis ) : int
IsValid ( int flag, string membername, Dispatch2 objthis ) : int
Operation ( int flag, string membername, Variant result, Variant param, Dispatch2 objthis ) : int
ProcessStringFunction ( string member, string target, Variant args, Variant result ) : void
PropGet ( int flag, string membername, Variant result, Dispatch2 objthis ) : int
PropSet ( int flag, string membername, Variant param, Dispatch2 objthis ) : int
SetCodeObject ( Kirikiri parent, Kirikiri setter, Kirikiri getter, Kirikiri superclass ) : void
SrcPosToLine ( int srcpos ) : int

Protected Methods

Method Description
FinalizeObject ( ) : void

Private Methods

Method Description
AddClassInstanceInfo ( Variant ra, int ra_offset, int code ) : void
CallFunction ( Variant ra, int ra_offset, int code, Variant args ) : int
CallFunctionDirect ( Variant ra, int ra_offset, int code, Variant args ) : int
CallFunctionIndirect ( Variant ra, int ra_offset, int code, Variant args ) : int
ContinuousClear ( Variant ra, int ra_offset, int code ) : void
DeleteMemberDirect ( Variant ra, int ra_offset, int code ) : void
DeleteMemberIndirect ( Variant ra, int ra_offset, int code ) : void
Disassemble ( int start, int end ) : void
DisassenbleSrcLine ( int codepos ) : void
DisplayExceptionGeneratedCode ( int codepos, Variant ra, int ra_offset ) : void
Eval ( Variant val, Dispatch2 objthis, bool resneed ) : void
ExecuteAsFunction ( Dispatch2 objthis, Variant args, Variant result, int start_ip ) : void
ExecuteCode ( Variant ra_org, int ra_offset, int startip, Variant args, Variant result ) : int
ExecuteCodeInTryBlock ( Variant ra, int ra_offset, int startip, Variant args, Variant result, int catchip, int exobjreg ) : int
GetContextHashSize ( int type ) : int
GetOctetProperty ( Variant result, Variant octet, Variant member ) : void
GetProperty ( Variant ra, int ra_offset, int code ) : void
GetPropertyDirect ( Variant ra, int ra_offset, int code, int flags ) : void
GetPropertyIndirect ( Variant ra, int ra_offset, int code, int flags ) : void
GetShortDescription ( ) : string
GetStringProperty ( Variant result, Variant str, Variant member ) : void
InstanceOf ( Variant name, Variant targ ) : void
OperateProperty ( Variant ra, int ra_offset, int code, int ope ) : void
OperateProperty0 ( Variant ra, int ra_offset, int code, int ope ) : void
OperatePropertyDirect ( Variant ra, int ra_offset, int code, int ope ) : void
OperatePropertyDirect0 ( Variant ra, int ra_offset, int code, int ope ) : void
OperatePropertyIndirect ( Variant ra, int ra_offset, int code, int ope ) : void
OperatePropertyIndirect0 ( Variant ra, int ra_offset, int code, int ope ) : void
ProcessOctetFunction ( string member, string target, Variant args, Variant result ) : void
SetOctetProperty ( Variant param, Variant octet, Variant member ) : void
SetProperty ( Variant ra, int ra_offset, int code ) : void
SetPropertyDirect ( Variant ra, int ra_offset, int code, int flags ) : void
SetPropertyIndirect ( Variant ra, int ra_offset, int code, int flags ) : void
SetStringProperty ( Variant param, Variant str, Variant member ) : void
ThrowFrom_tjs_error ( int hr, string name ) : void
ThrowFrom_tjs_error_num ( int hr, int num ) : void
ThrowInvalidVMCode ( ) : void
ThrowScriptException ( Variant val, ScriptBlock block, int srcpos ) : void
TypeOf ( Variant val ) : void
TypeOfMemberDirect ( Variant ra, int ra_offset, int code, int flags ) : void
TypeOfMemberIndirect ( Variant ra, int ra_offset, int code, int flags ) : void

Method Details

CharacterCodeFrom() public static method

public static CharacterCodeFrom ( Variant val ) : void
val Variant
return void

CharacterCodeOf() public static method

public static CharacterCodeOf ( Variant val ) : void
val Variant
return void

CodePosToSrcPos() public method

public CodePosToSrcPos ( int codepos ) : int
codepos int
return int

Compact() public method

public Compact ( ) : void
return void

CreateNew() public method

public CreateNew ( int flag, string membername, Holder result, Variant param, Dispatch2 objthis ) : int
flag int
membername string
result Holder
param Variant
objthis Dispatch2
return int

DateReplace() public method

DaraArray の中の InterCodeGenerator を InterCodeObject に差し替える
public DateReplace ( Compiler compiler ) : void
compiler Compiler
return void

DeleteMember() public method

public DeleteMember ( int flag, string membername, Dispatch2 objthis ) : int
flag int
membername string
objthis Dispatch2
return int

Disassemble() public method

public Disassemble ( ScriptBlock data, int start, int end ) : void
data ScriptBlock
start int
end int
return void

FinalizeObject() protected method

protected FinalizeObject ( ) : void
return void

FindSrcLineStartCodePos() public method

同一行の最初のコード位置を得る
public FindSrcLineStartCodePos ( int codepos ) : int
codepos int 检索するコード位置
return int

FuncCall() public method

public FuncCall ( int flag, string membername, Variant result, Variant param, Dispatch2 objthis ) : int
flag int
membername string
result Variant
param Variant
objthis Dispatch2
return int

GetCodeSize() public method

public GetCodeSize ( ) : int
return int

GetContextTypeName() public method

public GetContextTypeName ( ) : string
return string

GetCount() public method

public GetCount ( IntWrapper result, string membername, Dispatch2 objthis ) : int
result IntWrapper
membername string
objthis Dispatch2
return int

GetDataSize() public method

public GetDataSize ( ) : int
return int

GetLine() public method

public GetLine ( int line ) : string
line int
return string

GetLineOffset() public method

public GetLineOffset ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

GetPositionDescriptionString() public method

public GetPositionDescriptionString ( int codepos ) : string
codepos int
return string

GetScript() public method

public GetScript ( ) : string
return string

InterCodeObject() public method

public InterCodeObject ( ScriptBlock block, string name, int type, short code, Variant da, int varcount, int verrescount, int maxframe, int argcount, int arraybase, int colbase, bool srcsorted, LongBuffer srcpos, int superpointer ) : System
block ScriptBlock
name string
type int
code short
da Variant
varcount int
verrescount int
maxframe int
argcount int
arraybase int
colbase int
srcsorted bool
srcpos Sharpen.LongBuffer
superpointer int
return System

Invalidate() public method

public Invalidate ( int flag, string membername, Dispatch2 objthis ) : int
flag int
membername string
objthis Dispatch2
return int

IsInstanceOf() public method

public IsInstanceOf ( int flag, string membername, string classname, Dispatch2 objthis ) : int
flag int
membername string
classname string
objthis Dispatch2
return int

IsValid() public method

public IsValid ( int flag, string membername, Dispatch2 objthis ) : int
flag int
membername string
objthis Dispatch2
return int

Operation() public method

public Operation ( int flag, string membername, Variant result, Variant param, Dispatch2 objthis ) : int
flag int
membername string
result Variant
param Variant
objthis Dispatch2
return int

ProcessStringFunction() public static method

public static ProcessStringFunction ( string member, string target, Variant args, Variant result ) : void
member string
target string
args Variant
result Variant
return void

PropGet() public method

public PropGet ( int flag, string membername, Variant result, Dispatch2 objthis ) : int
flag int
membername string
result Variant
objthis Dispatch2
return int

PropSet() public method

public PropSet ( int flag, string membername, Variant param, Dispatch2 objthis ) : int
flag int
membername string
param Variant
objthis Dispatch2
return int

SetCodeObject() public method

public SetCodeObject ( Kirikiri parent, Kirikiri setter, Kirikiri getter, Kirikiri superclass ) : void
parent Kirikiri
setter Kirikiri
getter Kirikiri
superclass Kirikiri
return void

SrcPosToLine() public method

public SrcPosToLine ( int srcpos ) : int
srcpos int
return int