Package org.openquark.cal.compiler.SourceModel

Examples of org.openquark.cal.compiler.SourceModel.Parameter


         */
        private void checkForUnplingedPrimitives(Algebraic algebraic, String functionName, Function functionEntity) {
            TypeExpr[] arguments = functionEntity.getTypeExpr().getTypePieces();
           
            for(int i = 0; i < arguments.length - 1 && i < algebraic.getNParameters(); i++) {
                Parameter parameter = algebraic.getNthParameter(i);
               
                if(!parameter.isStrict() && isPrimitiveType(arguments[i])) {
                    warningList.add(new LintWarning(LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, parameter, parameter.getSourceRangeOfNameNotIncludingPotentialPling(), super.currentModule, functionName));
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.SourceModel.Parameter

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.