API: add source_text
, trivias
to Program
?
#6426
Labels
needs-discussion
Requires a discussion from the core team
source_text
, trivias
to Program
?
#6426
Why do I need to return them separately from
ParserReturn
and then pass them around to other components? Why can't they stay withProgram
?I think I was distracted by how
Program
needs to be serialized to estree. But we can just skip serializing these data.The text was updated successfully, but these errors were encountered: