add traversal path todos

This commit is contained in:
Sebastian McKenzie 2015-03-09 16:54:41 +11:00
parent ee0ac9f149
commit 7d20a9b882

View File

@ -56,6 +56,11 @@ export default class TraversalPath {
this.scope = TraversalPath.getScope(this.node, this.parent, this.context.scope); this.scope = TraversalPath.getScope(this.node, this.parent, this.context.scope);
} }
refreshScope() {
// todo: remove all binding identifiers associated with this node
// todo: if it hasn't been deleted and just replaced with node/s then add their bindings
}
setContext(parentPath, context, key) { setContext(parentPath, context, key) {
this.shouldRemove = false; this.shouldRemove = false;
this.shouldSkip = false; this.shouldSkip = false;
@ -123,6 +128,7 @@ export default class TraversalPath {
} }
this.flatten(); this.flatten();
// TODO: duplicate internal metadata
} }
} }