Package org.jruby.compiler.ir.operands

Examples of org.jruby.compiler.ir.operands.ModuleMetaObject


    }

    @Override
    public Label interpret(InterpreterContext interp, IRubyObject self) {
        Ruby       runtime   = interp.getRuntime();
        ModuleMetaObject mmo = (ModuleMetaObject)getArg();
        IRScope    scope     = mmo.scope;
        RubyModule container = mmo.getContainer(interp, runtime);
        RubyModule module    = container.defineOrGetModuleUnder(scope.getName());

        mmo.interpretBody(interp, interp.getContext(), module);
        return null;
    }
View Full Code Here

TOP

Related Classes of org.jruby.compiler.ir.operands.ModuleMetaObject

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.