The qt-declarative parser is in src / qml / qml / parser, and most of it is generated using qlalr (the same place as the previous link, but with qlalr instead of qtdeclarative). You can also look at the parser used in qt-creator src / libs / qmljs / parser, which is derived from qt-declarative.
Fawzi mohamed
source share