Atul Bhatt
Atul Bhatt

Reputation: 635

Is it possible to to get parsed node through monaco editor

The monaco editor I use for web seems to understand where an HTML begins and ends. So it feels like it parses it. So can I use the parsing of monaco to create a nodes tree. Is it possible to do?

Ex: If I load an HTML file content in monaco editor can I use it to create a HTML node tree.

Upvotes: 0

Views: 339

Answers (1)

Mike Lischke
Mike Lischke

Reputation: 53502

No, Monaco has no parser, just tokenizers for certain languages, which means it cannot give you a parse tree.

Upvotes: 1

Related Questions