Package org.jruby.ast

Examples of org.jruby.ast.CallSpecialArgBlockPassNode


        ISourcePosition position = union(receiver, blockPass);
        String name = (String) operation.getValue();
        Node args = blockPass.getArgsNode();
       
        if (args == null) return new CallNoArgBlockPassNode(position, receiver, name, args, blockPass);
        if (!(args instanceof ArrayNode)) return new CallSpecialArgBlockPassNode(position, receiver, name, args, blockPass);
       
        switch (((ArrayNode) args).size()) {
            case 0// foo()
                return new CallNoArgBlockPassNode(position, receiver, name, args, blockPass);
            case 1:
View Full Code Here


        ISourcePosition position = position(receiver, blockPass);
        String name = (String) operation.getValue();
        Node args = blockPass.getArgsNode();
       
        if (args == null) return new CallNoArgBlockPassNode(position, receiver, name, args, blockPass);
        if (!(args instanceof ArrayNode)) return new CallSpecialArgBlockPassNode(position, receiver, name, args, blockPass);
       
        switch (((ArrayNode) args).size()) {
            case 0// foo()
                return new CallNoArgBlockPassNode(position, receiver, name, args, blockPass);
            case 1:
View Full Code Here

TOP

Related Classes of org.jruby.ast.CallSpecialArgBlockPassNode

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.