Package org.jruby.truffle.nodes.globals

Examples of org.jruby.truffle.nodes.globals.CheckMatchVariableTypeNode


        if (readOnlyGlobalVariables.contains(name)) {
            return new WriteReadOnlyGlobalNode(context, sourceSection, name, rhs);
        } else {
            if (name.equals("$~")) {
                rhs = new CheckMatchVariableTypeNode(context, sourceSection, rhs);
            }

            final ObjectLiteralNode globalVariablesObjectNode = new ObjectLiteralNode(context, sourceSection, context.getCoreLibrary().getGlobalVariablesObject());
            return new WriteInstanceVariableNode(context, sourceSection, name, globalVariablesObjectNode, rhs, true);
        }
View Full Code Here

TOP

Related Classes of org.jruby.truffle.nodes.globals.CheckMatchVariableTypeNode

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.