Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow collapsing definitions #245

Open
eira-fransham opened this issue Jul 5, 2018 · 0 comments
Open

Allow collapsing definitions #245

eira-fransham opened this issue Jul 5, 2018 · 0 comments

Comments

@eira-fransham
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant