Module ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword ListLoad AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement pants.base.workunit WorkUnitLabel pants.util.dirutil safe_mkdir pants.contrib.node.tasks.node_paths NodePaths pants.contrib.node.tasks.node_task NodeTask NodeResolve N/A NodeTask N/A N/A Resolves node_package targets to isolated chroots using different registered resolvers. N/A _resolver_by_type N/A dict product_types N/A N/A cls N/A N/A N/A N/A NodePaths N/A classmethod prepare N/A N/A cls options round_manager N/A N/A N/A Allow each resolver to declare additional product requirements. N/A N/A N/A N/A super NodeResolve cls prepare options round_manager N/A resolver N/A N/A N/A cls _resolver_by_type values N/A N/A N/A N/A resolver prepare options round_manager N/A classmethod cache_target_dirs N/A N/A self N/A N/A N/A True N/A property register_resolver_for_type N/A N/A cls node_package_type resolver N/A N/A N/A Register a NodeResolver instance for a particular subclass of NodePackage.
    Implementation uses a hash on node_package_type, so the resolver will only be used on the
    exact NodePackage subclass (not further subclasses of it).

    :param class node_package_type: A NodePackage subclass
    :param class resolver: A NodeResolverBase subclass
     N/A N/A N/A cls _resolver_by_type N/A node_package_type resolver N/A classmethod _clear_resolvers N/A N/A cls N/A N/A N/A Remove all resolvers.

    This method is EXCLUSIVELY for use in tests.
     N/A N/A N/A N/A cls _resolver_by_type clear N/A classmethod _resolver_for_target N/A N/A cls target N/A N/A N/A Get the resolver registered for a target's type, or None if there is none.

    :param NodePackage target: A subclass of NodePackage.
    :rtype: NodeResolver
     N/A N/A N/A N/A cls _resolver_by_type get N/A type target N/A classmethod _can_resolve_target N/A N/A self target N/A N/A N/A Returns whether this is a NodePackage and there a resolver registerd for its subtype.

    :param target: A Target
    :rtype: Boolean
     N/A N/A N/A N/A self is_node_package target N/A N/A N/A self _resolver_for_target target None N/A execute N/A N/A self N/A N/A N/A targets N/A N/A N/A self context targets predicate N/A self _can_resolve_target N/A N/A targets N/A N/A N/A node_paths N/A N/A N/A N/A self context products get_data NodePaths init_func NodePaths N/A N/A N/A self invalidated targets topological_order True invalidate_dependents True invalidation_check N/A N/A N/A N/A N/A self context new_workunit name install labels N/A N/A WorkUnitLabel MULTITOOL N/A N/A vt N/A invalidation_check all_vts N/A N/A target N/A vt target N/A resolver_for_target_type N/A N/A N/A N/A self _resolver_for_target target global_instance N/A results_dir N/A vt results_dir N/A N/A N/A vt valid N/A N/A N/A safe_mkdir results_dir clean True N/A N/A N/A resolver_for_target_type resolve_target self target results_dir node_paths N/A N/A N/A node_paths resolved target results_dir N/A N/A