Add QmlJS::Document::ast() for when the type of the AST doesn't matter.
Ideally most of our visitors won't need to make the QML vs JS distinction. For these cases it'll be handy to be able to access the AST no matter whether it's a Program or UiProgram.
Loading
Please register or sign in to comment