Crate starlark_dialect_build_targets[][src]

Modules

testutil

Structs

EnvironmentContext

Holds execution context for a Starlark environment.

ResolvedTarget

Represents a resolved target.

ResolvedTargetValue
Target

Represents a registered target in the Starlark environment.

Enums

RunMode

How a resolved target can be run.

Traits

ToOptional
TryToOptional

Functions

build_target

Build a registered target in a Starlark environment.

get_context_value

Obtain the Value holding the EnvironmentContext for a Starlark environment.

optional_bool_arg
optional_dict_arg
optional_int_arg
optional_list_arg
optional_str_arg
optional_type_arg
populate_environment

Populate a Starlark environment with state.

register_starlark_dialect

Register our Starlark dialect with an environment and type values.

required_dict_arg
required_list_arg
required_type_arg
run_target

Runs a named target.