|
__init__(self,
value,
built_value=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
is_up_to_date(self)
Alternate check for whether the Node is current: If all of
our children were up-to-date, then this Node was up-to-date, too. |
source code
|
|
|
|
|
write(self,
built_value)
Set the value of the node. |
source code
|
|
|
read(self)
Return the value. If necessary, the value is built. |
source code
|
|
|
get_text_contents(self)
By the assumption that the node.built_value is a
deterministic product of the sources, the contents of a Value
are the concatenation of all the contents of its sources. As
the value need not be built when get_contents() is called, we
cannot use the actual node.built_value. |
source code
|
|
|
get_contents(self)
By the assumption that the node.built_value is a
deterministic product of the sources, the contents of a Value
are the concatenation of all the contents of its sources. As
the value need not be built when get_contents() is called, we
cannot use the actual node.built_value. |
source code
|
|
|
changed_since_last_build(self,
target,
prev_ni)
Must be overridden in a specific subclass to return True if this
Node (a dependency) has changed since the last time it was used
to build the specified target. prev_ni is this Node's state (for
example, its file timestamp, length, maybe content signature)
as of the last time the target was built. |
source code
|
|
|
get_csig(self,
calc=None)
Because we're a Python value node and don't have a real
timestamp, we get to ignore the calculator and just use the
value contents. |
source code
|
|
Inherited from Node :
Decider ,
add_dependency ,
add_ignore ,
add_prerequisite ,
add_source ,
add_to_implicit ,
add_to_waiting_parents ,
add_to_waiting_s_e ,
add_wkid ,
all_children ,
alter_targets ,
builder_set ,
built ,
changed ,
children ,
children_are_up_to_date ,
clear ,
clear_memoized_values ,
del_binfo ,
disambiguate ,
do_not_store_info ,
env_set ,
executor_cleanup ,
exists ,
explain ,
for_signature ,
get_abspath ,
get_binfo ,
get_build_env ,
get_build_scanner_path ,
get_builder ,
get_cachedir_csig ,
get_env ,
get_env_scanner ,
get_executor ,
get_found_includes ,
get_implicit_deps ,
get_ninfo ,
get_source_scanner ,
get_state ,
get_stored_implicit ,
get_stored_info ,
get_string ,
get_subst_proxy ,
get_suffix ,
get_target_scanner ,
has_builder ,
has_explicit_builder ,
is_derived ,
is_literal ,
missing ,
multiple_side_effect_has_builder ,
new_binfo ,
new_ninfo ,
postprocess ,
prepare ,
push_to_cache ,
release_target_info ,
remove ,
render_include_tree ,
reset_executor ,
retrieve_from_cache ,
rexists ,
scan ,
scanner_key ,
select_scanner ,
set_always_build ,
set_executor ,
set_explicit ,
set_nocache ,
set_noclean ,
set_precious ,
set_pseudo ,
set_specific_source ,
set_state ,
state_has_changed ,
store_info ,
visited
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|