Documentation
¶
Overview ¶
Package convert shares Starlark value conversion and argument diagnostics between the runtime and independent standard-library bindings.
Index ¶
- func ArgumentCause(cause error, format string, args ...any) error
- func Dictionary(values map[string]any) (*starlark.Dict, error)
- func InvalidArgument(format string, args ...any) error
- func ProcessInput(value starlark.Value) (*string, error)
- func Sequence(value starlark.Value) ([]starlark.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgumentCause ¶
ArgumentCause additionally preserves an underlying conversion or parse error.
func Dictionary ¶
Dictionary copies native command inputs into an immutable Starlark dictionary with sorted keys, keeping iteration and printed output deterministic.
func InvalidArgument ¶
InvalidArgument classifies an argument error without duplicating sentinel text in the eventual script traceback.
func ProcessInput ¶
ProcessInput keeps omitted stdin distinct from an explicitly empty input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.