Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope Class Reference

#include <qqmldomastcreator_p.h>

Inheritance diagram for QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope:
Collaboration diagram for QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope:

Public Member Functions

 QQmlDomAstCreatorWithQQmlJSScope (const QQmlJSScope::Ptr &current, MutableDomItem &qmlFile, QQmlJSLogger *logger, QQmlJSImporter *importer)
virtual QQmlJSASTClassListToVisit void throwRecursionDepthError () override
void enableScriptExpressions (bool enable=true)
void enableLoadFileLazily (bool enable=true)
QQmlJSImportVisitorscopeCreator ()
Public Member Functions inherited from QQmlJS::AST::Visitor
 Visitor (quint16 parentRecursionDepth=0)
bool preVisit (Node *) override
void postVisit (Node *) override
Public Member Functions inherited from QQmlJS::AST::BaseVisitor
 BaseVisitor (quint16 parentRecursionDepth=0)
virtual ~BaseVisitor ()
quint16 recursionDepth () const

Additional Inherited Members

Protected Attributes inherited from QQmlJS::AST::BaseVisitor
quint16 m_recursionDepth = 0

Detailed Description

Definition at line 622 of file qqmldomastcreator_p.h.

Constructor & Destructor Documentation

◆ QQmlDomAstCreatorWithQQmlJSScope()

QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::QQmlDomAstCreatorWithQQmlJSScope ( const QQmlJSScope::Ptr & current,
MutableDomItem & qmlFile,
QQmlJSLogger * logger,
QQmlJSImporter * importer )

Member Function Documentation

◆ enableLoadFileLazily()

void QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::enableLoadFileLazily ( bool enable = true)
inline

Definition at line 646 of file qqmldomastcreator_p.h.

◆ enableScriptExpressions()

void QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::enableScriptExpressions ( bool enable = true)
inline

Disable the DOM for scriptexpressions, as not yet unimplemented script elements might crash the construction.

Definition at line 640 of file qqmldomastcreator_p.h.

◆ scopeCreator()

QQmlJSImportVisitor & QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::scopeCreator ( )
inline

Definition at line 652 of file qqmldomastcreator_p.h.

◆ throwRecursionDepthError()

virtual QQmlJSASTClassListToVisit void QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::throwRecursionDepthError ( )
overridevirtual

The documentation for this class was generated from the following file: