Package org.openquark.cal.compiler.io

Examples of org.openquark.cal.compiler.io.OutputPolicy


         * @return An AugmentedAdjunct. i.e. Augmented source and a EntryPoint
         */
        public AugmentedAdjunct augmentAdjunct (EntryPointSpec entryPointSpec, AdjunctSource adjunctSource){
           
            QualifiedName adjunctTargetName = entryPointSpec.getFunctionalAgentName();
            OutputPolicy outputPolicy = entryPointSpec.getOutputPolicy();
            InputPolicy[] inputPolicies = entryPointSpec.getInputPolicies();
           
           
            if (adjunctTargetName == null || adjunctSource == null || outputPolicy == null) {
                throw new IllegalArgumentException ("Null argument in AdjunctAugmenter.augmentAdjunct.");
View Full Code Here


            // Unable to create an output value node for type: {declaredType}
            throw new ProgramCompileException(CompilerMessage.Severity.ERROR,
                    new CompilerMessage(new MessageKind.Error.UnableToCreateOutputValueNode(declaredType.toString())));
        }
       
        OutputPolicy outputPolicy = null;
        outputPolicy = outputValueNode.getOutputPolicy();
        if (outputPolicy == null) {
            // Unable to retrieve an output policy for type: {declaredType}
            throw new ProgramCompileException(CompilerMessage.Severity.ERROR,
                    new CompilerMessage(new MessageKind.Error.UnableToRetrieveAnOutputPolicy(declaredType.toString())));
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.io.OutputPolicy

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.