forked from qt-creator/qt-creator
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.
Syntax highlighter for Qt script courtesy of Simon. Exists as a duplicate in Designer.