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

feat: add a parent property to AST nodes #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RomFouq
Copy link

@RomFouq RomFouq commented Aug 28, 2021

  • Change the way HTML text nodes are stored: use objects instead of strings since strings cannot accept new properties
  • Populate the parent property when generating the AST

Partially addresses #81.

- Change the way HTML text nodes are stored: use objects instead of
strings since strings cannot accept new properties
- Populate the `parent` property when generating the AST
@cossssmin
Copy link
Member

@Scrum this would be helpful, no?

@Scrum
Copy link
Member

Scrum commented Jan 15, 2024

@Scrum this would be helpful, no?

Not obvious potential that can complicate the system

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

Successfully merging this pull request may close these issues.

3 participants