Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 531 of file qqmldomastcreator_p.h.

Constructor & Destructor Documentation

◆ QQmlDomAstCreatorWithQQmlJSScope()

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

Definition at line 2932 of file qqmldomastcreator.cpp.

Member Function Documentation

◆ enableLoadFileLazily()

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

Definition at line 555 of file qqmldomastcreator_p.h.

References QQmlJS::Dom::QQmlDomAstCreator::enableLoadFileLazily().

+ Here is the call graph for this function:

◆ 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 549 of file qqmldomastcreator_p.h.

References QQmlJS::Dom::QQmlDomAstCreator::enableScriptExpressions().

+ Here is the call graph for this function:

◆ scopeCreator()

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

Definition at line 561 of file qqmldomastcreator_p.h.

◆ throwRecursionDepthError()

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

Implements QQmlJS::AST::BaseVisitor.

Definition at line 3042 of file qqmldomastcreator.cpp.


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