C# Class Microsoft.Scripting.Interpreter.InterpretedFrame

Exibir arquivo Open project: jschementi/iron Class Usage Examples

Public Properties

Property Type Description
CurrentAbortHandler Microsoft.Scripting.Interpreter.ExceptionHandler
InstructionIndex int
StackIndex int

Private Properties

Property Type Description
Enter ThreadLocal.StorageInfo
InterpretedFrame System.Linq.Expressions
Leave void
PopPendingContinuation void
PushPendingContinuation void
SaveTraceToException void
SetStackDepth void

Public Methods

Method Description
Dup ( ) : void
GetDebugInfo ( int instructionIndex ) : Microsoft.Scripting.Interpreter.DebugInfo
GetExceptionStackTrace ( Exception exception ) : InterpretedFrameInfo[]
GetStackTraceDebugInfo ( ) : IEnumerable
Goto ( int labelIndex, object value ) : int
GroupStackFrames ( IEnumerable stackTrace ) : IEnumerable

A single interpreted frame might be represented by multiple subsequent Interpreter.Run CLR frames. This method filters out the duplicate CLR frames.

IsInterpretedFrame ( MethodBase method ) : bool
Peek ( ) : object
Pop ( ) : object
Push ( bool value ) : void
Push ( int value ) : void
Push ( object value ) : void
PushContinuation ( int continuation ) : void
RemoveContinuation ( ) : void
VoidGoto ( int labelIndex ) : int
YieldToCurrentContinuation ( ) : int
YieldToPendingContinuation ( ) : int

Private Methods

Method Description
Enter ( ) : ThreadLocal.StorageInfo
InterpretedFrame ( Interpreter interpreter, StrongBox closure ) : System.Linq.Expressions
Leave ( ThreadLocal currentFrame ) : void
PopPendingContinuation ( ) : void
PushPendingContinuation ( ) : void
SaveTraceToException ( Exception exception ) : void
SetStackDepth ( int depth ) : void

Method Details

Dup() public method

public Dup ( ) : void
return void

GetDebugInfo() public method

public GetDebugInfo ( int instructionIndex ) : Microsoft.Scripting.Interpreter.DebugInfo
instructionIndex int
return Microsoft.Scripting.Interpreter.DebugInfo

GetExceptionStackTrace() public static method

public static GetExceptionStackTrace ( Exception exception ) : InterpretedFrameInfo[]
exception Exception
return InterpretedFrameInfo[]

GetStackTraceDebugInfo() public method

public GetStackTraceDebugInfo ( ) : IEnumerable
return IEnumerable

Goto() public method

public Goto ( int labelIndex, object value ) : int
labelIndex int
value object
return int

GroupStackFrames() public static method

A single interpreted frame might be represented by multiple subsequent Interpreter.Run CLR frames. This method filters out the duplicate CLR frames.
public static GroupStackFrames ( IEnumerable stackTrace ) : IEnumerable
stackTrace IEnumerable
return IEnumerable

IsInterpretedFrame() public static method

public static IsInterpretedFrame ( MethodBase method ) : bool
method System.Reflection.MethodBase
return bool

Peek() public method

public Peek ( ) : object
return object

Pop() public method

public Pop ( ) : object
return object

Push() public method

public Push ( bool value ) : void
value bool
return void

Push() public method

public Push ( int value ) : void
value int
return void

Push() public method

public Push ( object value ) : void
value object
return void

PushContinuation() public method

public PushContinuation ( int continuation ) : void
continuation int
return void

RemoveContinuation() public method

public RemoveContinuation ( ) : void
return void

VoidGoto() public method

public VoidGoto ( int labelIndex ) : int
labelIndex int
return int

YieldToCurrentContinuation() public method

public YieldToCurrentContinuation ( ) : int
return int

YieldToPendingContinuation() public method

public YieldToPendingContinuation ( ) : int
return int

Property Details

CurrentAbortHandler public_oe property

public ExceptionHandler,Microsoft.Scripting.Interpreter CurrentAbortHandler
return Microsoft.Scripting.Interpreter.ExceptionHandler

InstructionIndex public_oe property

public int InstructionIndex
return int

StackIndex public_oe property

public int StackIndex
return int