Package org.jruby.truffle.nodes.control

Examples of org.jruby.truffle.nodes.control.WhileNode


        RubyNode body = node.getBodyNode().accept(this);

        body = context.getASTProber().probeAsPeriodic(body);

        if (node.evaluateAtStart()) {
            return new WhileNode(context, sourceSection, conditionCastNotCast, body);
        } else {
            return new DoWhileNode(context, sourceSection, conditionCastNotCast, body);
        }
    }
View Full Code Here


        RubyNode body = node.getBodyNode().accept(this);

        body = context.getASTProber().probeAsPeriodic(body);

        if (node.evaluateAtStart()) {
            return new WhileNode(context, sourceSection, conditionCast, body);
        } else {
            return new DoWhileNode(context, sourceSection, conditionCast, body);
        }
    }
View Full Code Here

TOP

Related Classes of org.jruby.truffle.nodes.control.WhileNode

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.