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
UnreachableVisitor Class Referencefinal
Inheritance diagram for UnreachableVisitor:
Collaboration diagram for UnreachableVisitor:

Public Member Functions

 UnreachableVisitor (QQmlJSLogger *logger)
bool containsFunctionDeclaration (QQmlJS::AST::Node *node)
bool visit (QQmlJS::AST::StatementList *unreachable) override
void throwRecursionDepthError () override
 UnreachableVisitor (QQmlJSLogger *logger)
bool containsFunctionDeclaration (QQmlJS::AST::Node *node)
bool visit (QQmlJS::AST::StatementList *unreachable) override
void throwRecursionDepthError () override
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 65 of file qqmljslinter.cpp.

Constructor & Destructor Documentation

◆ UnreachableVisitor() [1/2]

UnreachableVisitor::UnreachableVisitor ( QQmlJSLogger * logger)
inline

Definition at line 68 of file qqmljslinter.cpp.

◆ UnreachableVisitor() [2/2]

UnreachableVisitor::UnreachableVisitor ( QQmlJSLogger * logger)
inline

Definition at line 68 of file qqmljslinter.cpp.

Member Function Documentation

◆ containsFunctionDeclaration() [1/2]

bool UnreachableVisitor::containsFunctionDeclaration ( QQmlJS::AST::Node * node)
inline

Definition at line 70 of file qqmljslinter.cpp.

References HasFunctionDefinitionVisitor::reset(), and HasFunctionDefinitionVisitor::result().

Here is the call graph for this function:

◆ containsFunctionDeclaration() [2/2]

bool UnreachableVisitor::containsFunctionDeclaration ( QQmlJS::AST::Node * node)
inline

Definition at line 70 of file qqmljslinter.cpp.

◆ throwRecursionDepthError() [1/2]

void UnreachableVisitor::throwRecursionDepthError ( )
inlineoverridevirtual

Implements QQmlJS::AST::BaseVisitor.

Definition at line 99 of file qqmljslinter.cpp.

◆ throwRecursionDepthError() [2/2]

void UnreachableVisitor::throwRecursionDepthError ( )
inlineoverridevirtual

Implements QQmlJS::AST::BaseVisitor.

Definition at line 99 of file qqmljslinter.cpp.

◆ visit() [1/2]

bool UnreachableVisitor::visit ( QQmlJS::AST::StatementList * unreachable)
inlineoverride

Definition at line 77 of file qqmljslinter.cpp.

References QPlatformPrintDevice::location().

Here is the call graph for this function:

◆ visit() [2/2]

bool UnreachableVisitor::visit ( QQmlJS::AST::StatementList * unreachable)
inlineoverride

Definition at line 77 of file qqmljslinter.cpp.


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