Added proper documentation for the parser crate and modules that hopefully explains how it works a bit better and references Syntax in rust-analyzer for more details.
Also added some more AST implementations to more easily get some of the syntax tree nodes (e.g. if a HTML tag is self closing or the name of the HTML ending tag). There are still many such implementations missing and you likely still have to reach into the red tree yourself, but let's try to improve this further as more are needed inside Ludtwigs rules.
Added proper documentation for the parser crate and modules that hopefully explains how it works a bit better and references Syntax in rust-analyzer for more details.
Also added some more AST implementations to more easily get some of the syntax tree nodes (e.g. if a HTML tag is self closing or the name of the HTML ending tag). There are still many such implementations missing and you likely still have to reach into the red tree yourself, but let's try to improve this further as more are needed inside Ludtwigs rules.