Skip to content

Add a new node for Doc comments #202

Description

@aspeddro

ReScript v10.1 introduced docstrings for values, types, and modules.

  • /**Docstring*/: before value and types
  • /***Toplevel docstrins*/: top level modules

The two comments above are parsed as comment.

We can create two nodes (doc_comment and mod_comment) for both types of comments. It would be useful to do markdown injection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions