Module starlark::typing

source ·
Expand description

Types required to support the typecheck function.

Structs

  • A typing operation wasn’t able to produce a precise result, so made some kind of approximation.
  • Interface representing the types of all bindings in a module.
  • A TypingOracle based on information from documentation.
  • Declare that there are no attributes, usually used at the end of a Vec.
  • Declare that there are no builtins, usually used at the end of a Vec.
  • Returns no information for everything.
  • A TypingOracle based on information from documentation.
  • A parameter argument to a function
  • A function.
  • The name of an atomic type.
  • A series of types that are unioned together. Must be at least two elements, all distinct elements, with no nested Union types directly inside it.
  • Structure containing all the inferred types.

Enums

  • An argument being passed to a function
  • The type of a parameter - can be positional, by name, *args or **kwargs.
  • A Starlark type.

Traits

  • Callbacks which provide types when typechecking a module.