Zig.Parser.ResourceCleanup (zigler v0.9.1) View Source

resource cleanup struct

Link to this section Summary

Link to this section Types

Specs

t() :: %Zig.Parser.ResourceCleanup{doc: String.t(), for: atom(), name: atom()}

Link to this section Functions

Link to this function

register_function_header(list, context)

View Source
Link to this function

validate_args(list, context, line)

View Source

Specs

validate_args([String.t()], Parser.t(), non_neg_integer()) :: :ok | no_return()
Link to this function

validate_arity(args_and_name, context, line)

View Source

Specs

validate_arity([String.t()], Parser.t(), non_neg_integer()) :: :ok | no_return()
Link to this function

validate_retval(list, context, line)

View Source

Specs

validate_retval([String.t()], Parser.t(), non_neg_integer()) ::
  :ok | no_return()