py-ast - v1.16.0
    Preparing search index...

    Interface Arguments

    The full parameter list of a function or lambda, covering positional-only, regular, *args, keyword-only, and **kwargs parameters.

    interface Arguments {
        lineno?: number;
        col_offset?: number;
        end_lineno?: number;
        end_col_offset?: number;
        inlineComment?: Comment;
        nodeType: "Arguments";
        posonlyargs: Arg[];
        args: Arg[];
        vararg?: Arg;
        kwonlyargs: Arg[];
        kw_defaults: (ExprNode | null)[];
        kwarg?: Arg;
        defaults: ExprNode[];
    }

    Hierarchy (View Summary)

    Index
    lineno?: number

    1-indexed source line the node starts on.

    col_offset?: number

    0-indexed byte offset (UTF-8) within lineno where the node starts.

    end_lineno?: number

    1-indexed source line the node ends on.

    end_col_offset?: number

    0-indexed byte offset (UTF-8) within end_lineno where the node ends.

    inlineComment?: Comment

    Optional inline comment attached to this node.

    nodeType: "Arguments"
    posonlyargs: Arg[]
    args: Arg[]
    vararg?: Arg
    kwonlyargs: Arg[]
    kw_defaults: (ExprNode | null)[]

    Defaults for kwonlyargs, positionally aligned with it; a null entry means that keyword-only argument has no default.

    kwarg?: Arg
    defaults: ExprNode[]

    Defaults for the trailing portion of posonlyargs + args, right-aligned (the last default pairs with the last argument).