Skip to content

Allow collapsing definitions #245

Description

@eira-fransham

Probably this would just be something like turning the line object into a

enum SourceElement {
    Line { .. },
    Scope {
        /// The text shown when this scope is collapsed
        /// For this enum, it would be `enum SourceElement`
        summary: String,
        elements: Vec<SourceElement>,
    }
}

and handling this in the JS. I don't know how we'd actually generate that though.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions