Examples of NonWellformedType


Examples of org.rascalmpl.interpreter.staticErrors.NonWellformedType

    }

    @Override
    public org.eclipse.imp.pdb.facts.type.Type typeOf(Environment __eval, boolean instantiateTypeParameters, IEvaluator<Result<IValue>> eval) {

      throw new NonWellformedType(
          "tuple should have type arguments, like tuple[value,value].",
          this);

    }
View Full Code Here

Examples of org.rascalmpl.interpreter.staticErrors.NonWellformedType

      if (__eval.__getTypeArgument().getArity() == 0) {
        return org.rascalmpl.interpreter.BasicTypeEvaluator.__getTf()
            .valueType();
      }
      throw new NonWellformedType(
          "value cannot have type arguments.", this);

    }
View Full Code Here

Examples of org.rascalmpl.interpreter.staticErrors.NonWellformedType

    public org.eclipse.imp.pdb.facts.type.Type __evaluate(BasicTypeEvaluator __eval) {
      if (__eval.__getTypeArgument().getArity() == 0) {
        return org.rascalmpl.interpreter.BasicTypeEvaluator.__getTf()
            .voidType();
      }
      throw new NonWellformedType(
          "void cannot have type arguments.", this);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.