Package org.jruby.ast

Examples of org.jruby.ast.IArgumentNode


        checkExpression(rhs);
        if (lhs instanceof AssignableNode) {
          ((AssignableNode) lhs).setValueNode(rhs);
          lhs.setPosition(union(lhs, rhs));
        } else if (lhs instanceof IArgumentNode) {
            IArgumentNode invokableNode = (IArgumentNode) lhs;
           
            return invokableNode.setArgsNode(arg_add(lhs.getPosition(), invokableNode.getArgsNode(), rhs));
        }
       
        return newNode;
    }
View Full Code Here


        checkExpression(rhs);
        if (lhs instanceof AssignableNode) {
          ((AssignableNode) lhs).setValueNode(rhs);
        } else if (lhs instanceof IArgumentNode) {
            IArgumentNode invokableNode = (IArgumentNode) lhs;
           
            return invokableNode.setArgsNode(arg_add(lhs.getPosition(), invokableNode.getArgsNode(), rhs));
        }
       
        return newNode;
    }
View Full Code Here

TOP

Related Classes of org.jruby.ast.IArgumentNode

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.