public Tree Interpret(Tree frame) { if (_interpreter != null) { Tree tree = LayerChain.InterpretChain(_layers, frame); MutableTree mutable = MutableTree.FromTree(tree); PrefabSingleInterpretArgs args = new PrefabSingleInterpretArgs(mutable, Storage); try { _interpreter.Interpret(args); } catch (Exception e) { mutable["interpretation_exception"] = e; } return(Tree.FromMutable(mutable)); } return(frame); }
public Tree Interpret(Tree frame) { return(LayerChain.InterpretChain(_layers, frame)); }