Rakudo.Metamodel.Representations.RakudoCodeRef.instance_of C# (CSharp) Method

instance_of() public method

Creates an instance of the type with the given type object.
public instance_of ( ThreadContext TC, RakudoObject WHAT ) : RakudoObject
TC Rakudo.Runtime.ThreadContext
WHAT RakudoObject
return RakudoObject
        public override RakudoObject instance_of(ThreadContext TC, RakudoObject WHAT)
        {
            var Object = new Instance(WHAT.STable);
            return Object;
        }