Package org.rascalmpl.interpreter.staticErrors

Examples of org.rascalmpl.interpreter.staticErrors.UnsupportedPattern


        org.rascalmpl.ast.Type newType = ASTBuilder.make("Type","Structured",origin, ASTBuilder.make("StructuredType",origin, ASTBuilder.make("BasicType","List", origin), Arrays.asList(ASTBuilder.make("TypeArg",origin, ASTBuilder.make("Type","Basic", origin, ASTBuilder.make("BasicType","Value", origin))))));
        last = ASTBuilder.makeExp("TypedVariable", origin, newType, Names.lastName(last.getQualifiedName()));
        formals = replaceLast(formals, last);
      }
      else {
        throw new UnsupportedPattern("...", last);
      }
    }
   
    return formals;
  }
View Full Code Here


        if (lambda instanceof OverloadedFunctionType) {
          return ((OverloadedFunctionType) lambda).getReturnType();
        }
      }

      throw new UnsupportedPattern(lambda + "(...)", this);
    }
View Full Code Here

  /**
   * Recursively build a matching data-structure, use getMatcher if you are just a client of IMatchingResult.
   */
  public IMatchingResult buildMatcher(IEvaluatorContext eval) {
    throw new UnsupportedPattern(toString(), this);
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.staticErrors.UnsupportedPattern

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.