![]() |
Qt 6.x
The Qt SDK
|
A common base class for all the script elements. More...
#include <qqmldomitem_p.h>
Public Types | |
template<typename T > | |
using | PointerType = std::shared_ptr< T > |
![]() | |
using | FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> |
Additional Inherited Members | |
![]() | |
DomElement & | operator= (const DomElement &)=default |
A common base class for all the script elements.
This marker class allows to use all the script elements as a ScriptElement*, using virtual dispatch. For now, it does not add any extra functionality, compared to a DomElement, but allows to forbid DomElement* at the places where only script elements are required.
Definition at line 695 of file qqmldomitem_p.h.
using QQmlJS::Dom::ScriptElement::PointerType = std::shared_ptr<T> |
Definition at line 698 of file qqmldomitem_p.h.
|
pure virtual |
|
default |
std::optional< QQmlJSScope::Ptr > QQmlJS::Dom::ScriptElement::semanticScope | ( | ) |
void QQmlJS::Dom::ScriptElement::setSemanticScope | ( | const QQmlJSScope::Ptr & | scope | ) |