Package Rakudo.Metamodel

Examples of Rakudo.Metamodel.SharedTable


    /// <param name="MetaPackage"></param>
    /// <returns></returns>
    public RakudoObject type_object_for(ThreadContext tc, RakudoObject metaPackage)
    {
        // Do the usual bits of setup for the type-object.
        SharedTable sharedTable = new SharedTable();
        sharedTable.HOW = metaPackage;
        sharedTable.REPR = this;
        sharedTable.WHAT = new Instance(sharedTable);

        // Also twiddle the Shared Table's Invoke to invoke the contained
View Full Code Here


    private long[] PositionalsToTypeCacheIDs(RakudoObject[] Positionals)
    {
        long[] Result = new long[Positionals.length];
        for (int i = 0; i < Positionals.length; i++)
        {
            SharedTable sTable = Positionals[i].getSTable();
            Result[i] = sTable.getTypeCacheID() | (sTable.REPR.defined(null, Positionals[i]) ? 1L : 0L);
        }
        return Result;
    }
View Full Code Here

TOP

Related Classes of Rakudo.Metamodel.SharedTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.