Package org.openquark.cal.compiler.SourceModel.FunctionDefn

Examples of org.openquark.cal.compiler.SourceModel.FunctionDefn.Foreign


                buffer.append(" = ...");

                return buffer.toString();
               
            } else if (functionDefn instanceof Foreign) {
                Foreign foreign = (Foreign)functionDefn;
               
                final StringBuilder buffer = new StringBuilder();
               
                buffer.append("foreign unsafe import jvm ");               

                buffer.append(StringEncoder.encodeString(foreign.getExternalName()));

                if (foreign.isScopeExplicitlySpecified()) {
                    buffer.append(' ').append(foreign.getScope().toString());
                }
                buffer.append(' ').append(foreign.getName()).append(" :: ");
               
                buffer.append("...");
               
                return buffer.toString();
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.SourceModel.FunctionDefn.Foreign

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.