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

Package exports #3

Open
mortenpi opened this issue May 17, 2022 · 0 comments
Open

Package exports #3

mortenpi opened this issue May 17, 2022 · 0 comments

Comments

@mortenpi
Copy link
Member

Currently, the package does not export anything, so everything has to be explicitly included. We probably want to export some (or all) of the following things:

  • @ast macro
  • Node type
  • Functions for querying and mutating trees (next, insert_after! etc).
  • Abstract element types (AbstractElement, AbstractInline etc).
  • Concrete element types (note: Text is ambiguous with a Base export; but the @ast macro does not actually need the Text() method, so it could remain unexported).
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