Package com.oracle.truffle.r.nodes.access.WriteVariableNode

Examples of com.oracle.truffle.r.nodes.access.WriteVariableNode.UnresolvedWriteLocalVariableNode


     */
    private static void deparseNode(State state, Node fnode) {
        // This would me much easier if everything really was a function
        Node node = RASTUtils.unwrap(fnode);
        if (node instanceof UnresolvedWriteLocalVariableNode) {
            UnresolvedWriteLocalVariableNode wvn = (UnresolvedWriteLocalVariableNode) node;
            state.append(wvn.getName());
            state.append(" <- ");
            deparseNodeOrValue(state, wvn.getRhs());
        } else if (node instanceof RCallNode || node instanceof DispatchedCallNode) {
            Object fname = RASTUtils.findFunctionName(node, false);
            Func func = isInfixOperator(fname);
            if (func != null) {
                deparseInfixOperator(state, node, func);
View Full Code Here

TOP

Related Classes of com.oracle.truffle.r.nodes.access.WriteVariableNode.UnresolvedWriteLocalVariableNode

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.