예제 #1
0
  public Function getCompanionDefaultsFunction(String name, Type ftype) {
    String key = name + ftype;

    Function result =
        companionDefaultFunctionCache.get(key, k -> rvm.getCompanionDefaultsFunction(name, ftype));
    // System.err.println("RascalExecutionContext.getCompanionDefaultsFunction: " + key + " => " +
    // result.name);
    return result;
  }
예제 #2
0
 public IConstructor type2Symbol(final Type t) {
   return type2symbolCache.get(t, k -> RascalPrimitive.$type2symbol(t));
 }