main tree for directives resolved