26 using QmlIR::IRBuilder::visit;
28 explicit QQmlJSAOTIRBuilder(FailureMode failureMode = QmlIR::IRBuilder::StopAfterFirstFailure);
30 bool visit(QQmlJS::AST::FunctionExpression *ast) override;
31 bool visit(QQmlJS::AST::FunctionDeclaration *ast) override;
33 bool visit(QQmlJS::AST::UiSourceElement *node) override;
35 void registerFunctionExpr(QQmlJS::AST::FunctionExpression *fexp, IsQmlFunction) override;
37 void setBindingValue(QV4::CompiledData::Binding *binding, QQmlJS::AST::Statement *statement,
38 QQmlJS::AST::Node *parentNode) override;
40 QSet<std::pair<QmlIR::Object *, QQmlJS::AST::FunctionExpression *>> qmlFuncDecls;