class OverridesMap extends SubstitutionNode<V> implements SubstitutionProvider<V> {

	@Override
	protected void registerSubstitute(String[] elements, int index, V value) {
		super.registerSubstitute(elements, index, value);
		for(int i=0;i<index;i++) {
			registerParent(i>0?elements[i-1]:null,elements[i]);
		}
	}

}