diff --git a/dotnet/runtime/Metamodel/Representations/RakudoCodeRef.cs b/dotnet/runtime/Metamodel/Representations/RakudoCodeRef.cs index c805382..5bdd446 100644 --- a/dotnet/runtime/Metamodel/Representations/RakudoCodeRef.cs +++ b/dotnet/runtime/Metamodel/Representations/RakudoCodeRef.cs @@ -8,14 +8,16 @@ namespace Rakudo.Metamodel.Representations { /// - /// A representation for low-level code references. This is something - /// specific to this Rakudo backend, not something standard accross all - /// Rakudo backends. + /// A representation for a low-level code object (something that actually + /// references a piece of code that we'll run). This is used for things + /// that serve the role of an only sub (that has a body) and a dispatcher + /// (which has a body as well as a list of candidates that it operates + /// on). /// public sealed class RakudoCodeRef : Representation { /// - /// This is how the boxed form of a P6str looks. + /// Instance that uses the RakudoCodeRef representation. /// public sealed class Instance : RakudoObject { @@ -39,6 +41,17 @@ public sealed class Instance : RakudoObject /// public Signature Sig; + /// + /// Exception handlers this block has, if any. + /// + public Handler[] Handlers; + + /// + /// If this is a dispatcher, this is the list of dispatchees that + /// it will operate over. + /// + public RakudoObject[] Dispatchees; + /// /// The context currently using this sub. /// @@ -48,11 +61,6 @@ public sealed class Instance : RakudoObject /// The outer context to use for the next invocation, if any. /// public Context OuterForNextInvocation; - - /// - /// Exception handlers this block has, if any. - /// - public Handler[] Handlers; /// /// Creates a new instance with the given S-Table.