this.reifier = new TypeReifier(values);
}
public IConstructor loadYAML(IString src, IEvaluatorContext ctx) {
Yaml yaml = new Yaml();
Object obj = yaml.load(src.getValue());
if (obj == null) {
throw RuntimeExceptionFactory.illegalArgument(src, ctx.getCurrentAST(), ctx.getStackTrace());
}
IdentityHashMap<Object, Integer> anchors = new IdentityHashMap<Object, Integer>();
computeAnchors(obj, anchors, 0);