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::AST::BaseVisitor Class Referenceabstract

#include <qqmljsastvisitor_p.h>

+ Inheritance diagram for QQmlJS::AST::BaseVisitor:
+ Collaboration diagram for QQmlJS::AST::BaseVisitor:

Classes

class  RecursionDepthCheck
 

Public Member Functions

 BaseVisitor (quint16 parentRecursionDepth=0)
 
virtual ~BaseVisitor ()
 
virtual bool preVisit (Node *)=0
 
virtual void postVisit (Node *)=0
 
virtual QQmlJSASTClassListToVisit void throwRecursionDepthError ()=0
 
quint16 recursionDepth () const
 

Protected Attributes

quint16 m_recursionDepth = 0
 

Friends

class RecursionDepthCheck
 

Detailed Description

Definition at line 148 of file qqmljsastvisitor_p.h.

Constructor & Destructor Documentation

◆ BaseVisitor()

QQmlJS::AST::BaseVisitor::BaseVisitor ( quint16 parentRecursionDepth = 0)

Definition at line 14 of file qqmljsastvisitor.cpp.

◆ ~BaseVisitor()

QQmlJS::AST::BaseVisitor::~BaseVisitor ( )
virtual

Definition at line 16 of file qqmljsastvisitor.cpp.

Member Function Documentation

◆ postVisit()

virtual void QQmlJS::AST::BaseVisitor::postVisit ( Node * )
pure virtual

◆ preVisit()

◆ recursionDepth()

quint16 QQmlJS::AST::BaseVisitor::recursionDepth ( ) const
inline

Definition at line 191 of file qqmljsastvisitor_p.h.

◆ throwRecursionDepthError()

Friends And Related Symbol Documentation

◆ RecursionDepthCheck

friend class RecursionDepthCheck
friend

Definition at line 195 of file qqmljsastvisitor_p.h.

Member Data Documentation

◆ m_recursionDepth

quint16 QQmlJS::AST::BaseVisitor::m_recursionDepth = 0
protected

Definition at line 194 of file qqmljsastvisitor_p.h.


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