Package com.oracle.truffle.api

Examples of com.oracle.truffle.api.CallTarget


                    source = Source.fromBytes(bytes, inputFile, new BytesDecoder.UTF8BytesDecoder());
                }

                final RubyRootNode parsedRootNode = truffleContext.getTranslator().parse(truffleContext, source, parserContext, parentFrame, null);
                final CallTarget callTarget = Truffle.getRuntime().createCallTarget(parsedRootNode);

                return callTarget.call(RubyArguments.pack(null, parentFrame, self, null, new Object[]{}));
            }

        }, truffleContext.getCoreLibrary().getNilObject());
    }
View Full Code Here

TOP

Related Classes of com.oracle.truffle.api.CallTarget

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.