Package org.jruby.compiler.ir

Examples of org.jruby.compiler.ir.IRMethod


        return (scope instanceof IRModule) ? IRClass.getCoreClass("Module") : null;
    }

    public RubyModule interpretBody(InterpreterContext interp, ThreadContext context, RubyModule module) {
        scope.getStaticScope().setModule(module);
        IRMethod rootMethod = ((IRModule) scope).getRootMethod();
        DynamicMethod method = new InterpretedIRMethod(rootMethod, module.getMetaClass());

        method.call(context, module, module.getMetaClass(), "", new IRubyObject[]{});

        return module;
View Full Code Here

TOP

Related Classes of org.jruby.compiler.ir.IRMethod

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.