TYPE_MAP.put("Vector Double", Types.vector(Types.DOUBLE));
TYPE_MAP.put("Vector String", Types.vector(Types.STRING));
TYPE_MAP.put("ByteArray", Types.BYTE_ARRAY);
-
+
+ // #83: L0.typeResource
+ TCon variable = Types.con("Simantics/Variables", "Variable");
+ add(variable);
+ TYPE_MAP.put("Variable -> Resource -> <ReadGraph> Resource",
+ Types.functionE(new Type[] {variable, Types.RESOURCE}, Types.READ_GRAPH, Types.RESOURCE));
+
add((TCon)Types.RESOURCE);
add(Types.con("Simantics/GUID", "GUID")); // L0.GUID
add(Types.con("Simantics/Variables", "StructuredProperty")); // L0.methods