Skip to content

feat: add a parent property to AST nodes#82

Open
RomFouq wants to merge 1 commit intoposthtml:masterfrom
RomFouq:ast-parent-prop
Open

feat: add a parent property to AST nodes#82
RomFouq wants to merge 1 commit intoposthtml:masterfrom
RomFouq:ast-parent-prop

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