Package eu.admire.dispel.parser.types

Examples of eu.admire.dispel.parser.types.Type


            SimpleFunctionDescriptor descriptor =
                new SimpleFunctionDescriptor(object.getName());
            Function function = (Function)object.getMetadata();
            for (Entry<Integer, String> index : function.getIndices().entrySet())
            {
                Type type = function.getParameters().get(index.getValue());
                Parameter parameter = getDescriptor(
                        type,
                        function.getArrayDimensions().get(index.getValue()));
                parameter.setIndex(index.getKey());
                descriptor.addParameter(index.getValue(), parameter);
View Full Code Here


        Variable var = mExecutionState.getVariables().get(text);
        if (var == null)
        {
            throw new UnknownTypeException(text);
        }
        Type type = var.getType();
        mFunction.setReturnType(type);
    }
View Full Code Here

    }
   
    public void setProcessingElement(String text)
        throws UnknownTypeException
    {
        Type type = mExecutionState.getUsedProcessingElements().getType(text);
        mFunction.setReturnType(type);
    }
View Full Code Here

   }
  
   @Override
    public void setName(String text) throws Exception
    {
       Type type = mExecutionState.getUsedProcessingElements().getType(text);
       if (type instanceof DomainType)
       {
           mType = ((DomainType) type).getDType();
       }
       else
View Full Code Here

TOP

Related Classes of eu.admire.dispel.parser.types.Type

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.