C# Class Wren.Core.Objects.ObjFiber

Inheritance: Wren.Core.Objects.Obj
Show file Open project: robotii/Wren.NET Class Usage Examples

Public Properties

Property Type Description
Caller ObjFiber
CallerIsTrying bool
Capacity int
Error Wren.Core.Objects.Obj
Frames List
NumFrames int
OpenUpvalues ObjUpvalue
StackTop int

Public Methods

Method Description
CallFunction ( Wren.Core.Objects.Obj function, int numArgs ) : void
CaptureUpvalue ( int index ) : ObjUpvalue
CloseUpvalue ( ) : void
Discard ( int numArgs ) : void
Drop ( ) : void
Dup ( ) : void
GetFrame ( ) : CallFrame
GetReceiver ( int numArgs ) : Wren.Core.Objects.Obj
IncreaseStack ( ) : Wren.Core.Objects.Obj[]
ObjFiber ( Wren.Core.Objects.Obj fn ) : System.Collections.Generic
Peek ( ) : Wren.Core.Objects.Obj
Peek2 ( ) : Wren.Core.Objects.Obj
Pop ( ) : Wren.Core.Objects.Obj
Push ( Wren.Core.Objects.Obj c ) : void
Return ( ) : Wren.Core.Objects.Obj
RuntimeError ( Wren.Core.Objects.Obj error ) : ObjFiber
SetReturnValue ( Wren.Core.Objects.Obj v ) : void
SetStackSize ( int stackSize ) : void
StoreValue ( int index, Wren.Core.Objects.Obj v ) : void

Private Methods

Method Description
ResetFiber ( Wren.Core.Objects.Obj fn ) : void

Method Details

CallFunction() public method

public CallFunction ( Wren.Core.Objects.Obj function, int numArgs ) : void
function Wren.Core.Objects.Obj
numArgs int
return void

CaptureUpvalue() public method

public CaptureUpvalue ( int index ) : ObjUpvalue
index int
return ObjUpvalue

CloseUpvalue() public method

public CloseUpvalue ( ) : void
return void

Discard() public method

public Discard ( int numArgs ) : void
numArgs int
return void

Drop() public method

public Drop ( ) : void
return void

Dup() public method

public Dup ( ) : void
return void

GetFrame() public method

public GetFrame ( ) : CallFrame
return CallFrame

GetReceiver() public method

public GetReceiver ( int numArgs ) : Wren.Core.Objects.Obj
numArgs int
return Wren.Core.Objects.Obj

IncreaseStack() public method

public IncreaseStack ( ) : Wren.Core.Objects.Obj[]
return Wren.Core.Objects.Obj[]

ObjFiber() public method

public ObjFiber ( Wren.Core.Objects.Obj fn ) : System.Collections.Generic
fn Wren.Core.Objects.Obj
return System.Collections.Generic

Peek() public method

public Peek ( ) : Wren.Core.Objects.Obj
return Wren.Core.Objects.Obj

Peek2() public method

public Peek2 ( ) : Wren.Core.Objects.Obj
return Wren.Core.Objects.Obj

Pop() public method

public Pop ( ) : Wren.Core.Objects.Obj
return Wren.Core.Objects.Obj

Push() public method

public Push ( Wren.Core.Objects.Obj c ) : void
c Wren.Core.Objects.Obj
return void

Return() public method

public Return ( ) : Wren.Core.Objects.Obj
return Wren.Core.Objects.Obj

RuntimeError() public method

public RuntimeError ( Wren.Core.Objects.Obj error ) : ObjFiber
error Wren.Core.Objects.Obj
return ObjFiber

SetReturnValue() public method

public SetReturnValue ( Wren.Core.Objects.Obj v ) : void
v Wren.Core.Objects.Obj
return void

SetStackSize() public method

public SetStackSize ( int stackSize ) : void
stackSize int
return void

StoreValue() public method

public StoreValue ( int index, Wren.Core.Objects.Obj v ) : void
index int
v Wren.Core.Objects.Obj
return void

Property Details

Caller public property

public ObjFiber,Wren.Core.Objects Caller
return ObjFiber

CallerIsTrying public property

public bool CallerIsTrying
return bool

Capacity public property

public int Capacity
return int

Error public property

public Obj,Wren.Core.Objects Error
return Wren.Core.Objects.Obj

Frames public property

public List Frames
return List

NumFrames public property

public int NumFrames
return int

OpenUpvalues public property

public ObjUpvalue,Wren.Core.Objects OpenUpvalues
return ObjUpvalue

StackTop public property

public int StackTop
return int