Documentation ¶
Overview ¶
Package args contains various helpers for extracting/processing starlark arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessArgs ¶
func ProcessArgs(args starlark.Tuple, kwargs []starlark.Tuple, ctx core.Context, target ProcessArgsTarget) error
ProcessArgs processes kwargs for the given target. Currently, it always requires that all arguments be kwargs.
Types ¶
type ProcessArgsTarget ¶
ProcessArgsTarget is implemented by structs that are targets for ProcessArgs. ProcessArgs will fill in a target's fields based on its field tags, and once complete it will call DidProcessArgs.
Click to show internal directories.
Click to hide internal directories.