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
QQmlLSQuickCompletionPlugin Class Reference

#include <qqmllsquickplugin_p.h>

+ Inheritance diagram for QQmlLSQuickCompletionPlugin:
+ Collaboration diagram for QQmlLSQuickCompletionPlugin:

Public Member Functions

void suggestSnippetsForLeftHandSideOfBinding (const QQmlJS::Dom::DomItem &items, BackInsertIterator result) const override
 
void suggestSnippetsForRightHandSideOfBinding (const QQmlJS::Dom::DomItem &items, BackInsertIterator result) const override
 
- Public Member Functions inherited from QQmlLSCompletionPlugin
 QQmlLSCompletionPlugin ()=default
 
virtual ~QQmlLSCompletionPlugin ()=default
 

Additional Inherited Members

- Public Types inherited from QQmlLSCompletionPlugin
using BackInsertIterator = std::back_insert_iterator<QList<QLspSpecification::CompletionItem>>
 

Detailed Description

Definition at line 25 of file qqmllsquickplugin_p.h.

Member Function Documentation

◆ suggestSnippetsForLeftHandSideOfBinding()

void QQmlLSQuickCompletionPlugin::suggestSnippetsForLeftHandSideOfBinding ( const QQmlJS::Dom::DomItem & items,
BackInsertIterator result ) const
overridevirtual

◆ suggestSnippetsForRightHandSideOfBinding()

void QQmlLSQuickCompletionPlugin::suggestSnippetsForRightHandSideOfBinding ( const QQmlJS::Dom::DomItem & items,
BackInsertIterator result ) const
overridevirtual

Implements QQmlLSCompletionPlugin.

Definition at line 82 of file qqmllsquickplugin.cpp.

References QQmlJS::Dom::DomItem::as(), QSet< T >::constEnd(), QQmlJS::Dom::DomItem::containingFile(), file, QByteArray::isEmpty(), it, QQmlLSCompletion::makeSnippet(), QByteArray(), and QQmlLSUtils::qualifiersFrom().

Referenced by suggestSnippetsForLeftHandSideOfBinding().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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