Skip to content

Add support for private fields (by not emitting them) #13

@Julian

Description

@Julian

If a field is marked private I think it'd be nice if they weren't emitted at all.

Right now it seems marking them as such via e.g.:

--- An individual pin.
---@class Pin
---@field id string @a label to identify the pin
---@field private __data_element Element
---@field private __element Element
---@field private __extmark number
---@field private __extmark_buf number

is misparsed as the field name:

Pin                                                                        *Pin*


    Fields: ~
        {id}       (string)                @a label to identify the pin
        {private}  (__data_element)        Element
        {private}  (__element)             Element
        {private}  (__extmark)             number
        {private}  (__extmark_buf)         number

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions