Examples of preNodeEval()


Examples of org.jruby.runtime.ThreadContext.preNodeEval()

       
        try {
            secure(4); /* should alter global state */

            context.setFile(scriptName);
            context.preNodeEval(objectClass, self, scriptName);

            parseFile(in, scriptName, null).interpret(this, context, self, Block.NULL_BLOCK);
        } catch (JumpException.ReturnJump rj) {
            return;
        } finally {
View Full Code Here

Examples of org.jruby.runtime.ThreadContext.preNodeEval()

       
        try {
            secure(4); /* should alter global state */

            context.setFile(filename);
            context.preNodeEval(objectClass, self, filename);
           
            Node scriptNode = parseFile(in, filename, null);
           
            Script script = tryCompile(scriptNode, new JRubyClassLoader(jrubyClassLoader));
            if (script == null) {
View Full Code Here

Examples of org.jruby.runtime.ThreadContext.preNodeEval()

        ThreadContext context = getCurrentContext();

        try {
            secure(4); /* should alter global state */

            context.preNodeEval(objectClass, self);
           
            script.load(context, self, IRubyObject.NULL_ARRAY, Block.NULL_BLOCK);
        } catch (JumpException.ReturnJump rj) {
            return;
        } finally {
View Full Code Here

Examples of org.jruby.runtime.ThreadContext.preNodeEval()

       
        try {
            secure(4); /* should alter global state */

            context.setFile(scriptName);
            context.preNodeEval(objectClass, self, scriptName);

            runInterpreter(context, parseFile(in, scriptName, null), self);
        } catch (JumpException.ReturnJump rj) {
            return;
        } finally {
View Full Code Here

Examples of org.jruby.runtime.ThreadContext.preNodeEval()

        ThreadContext context = getCurrentContext();
        String file = context.getFile();
       
        try {
            ThreadContext.pushBacktrace(context, "(root)", file, 0);
            context.preNodeEval(objectClass, self, scriptName);

            Node node = parseFile(in, scriptName, null);
            if (wrap) {
                // toss an anonymous module into the search path
                ((RootNode)node).getStaticScope().setModule(RubyModule.newModule(this));
View Full Code Here

Examples of org.jruby.runtime.ThreadContext.preNodeEval()

        ThreadContext context = getCurrentContext();
        String file = context.getFile();
       
        try {
            ThreadContext.pushBacktrace(context, "(root)", file, 0);
            context.preNodeEval(self);
            ParseResult parseResult = parseFile(scriptName, in, null);

            if (wrap) {
                // toss an anonymous module into the search path
                ((RootNode) parseResult).getStaticScope().setModule(RubyModule.newModule(this));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.