C# Class Rakudo.Runtime.Exceptions.LeaveStackUnwinderException

This exception is thrown to actually unwind the (dotnet) stack after we run an exception handler.
Inheritance: System.Exception
Show file Open project: jnthn/6model

Public Properties

Property Type Description
PayLoad Rakudo.Metamodel.RakudoObject
TargetBlock Rakudo.Metamodel.Representations.RakudoCodeRef.Instance

Public Methods

Method Description
LeaveStackUnwinderException ( RakudoCodeRef TargetBlock, RakudoObject PayLoad ) : System

Creates a LeaveStackUnwinderException to target the given block and exit it with the specified payload.

Method Details

LeaveStackUnwinderException() public method

Creates a LeaveStackUnwinderException to target the given block and exit it with the specified payload.
public LeaveStackUnwinderException ( RakudoCodeRef TargetBlock, RakudoObject PayLoad ) : System
TargetBlock Rakudo.Metamodel.Representations.RakudoCodeRef
PayLoad Rakudo.Metamodel.RakudoObject
return System

Property Details

PayLoad public property

The value to exit with.
public RakudoObject,Rakudo.Metamodel PayLoad
return Rakudo.Metamodel.RakudoObject

TargetBlock public property

The block we're looking for.
public RakudoCodeRef.Instance,Rakudo.Metamodel.Representations TargetBlock
return Rakudo.Metamodel.Representations.RakudoCodeRef.Instance