示例#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));
 }