Skip to content

Collect more information in the scanner #4

@ronaldoussoren

Description

@ronaldoussoren

The scanner should extract more information for a number use cases:

  • availability information, in particular deprecation information
  • collect the names of enum types, and associate that with enum labels and values (both for C enums and string enums)
  • collect nullable info
  • collect the type name for parameters/return values that have "@" as their encoded type
  • collect "NS_UNAVAILABLE" attribute
  • collect if enums are equivalent to IntEnum or IntFlag
  • collect NS_STRING_ENUM and NS_EXTENSIBLE_STRING_ENUM information
  • collect availability for aliases

This information can be used to:

  • Generate documentation for the framework wrappers
  • Add more detail to the framework wrappers
  • Generate MyPy typing stubs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions