Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::AST::UiQualifiedId Class Reference

#include <qqmljsast_p.h>

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

Public Member Functions

 UiQualifiedId (QStringView name)
 
 UiQualifiedId (UiQualifiedId *previous, QStringView name)
 
UiQualifiedIdfinish ()
 
void accept0 (BaseVisitor *visitor) override
 
SourceLocation firstSourceLocation () const override
 
SourceLocation lastSourceLocation () const override
 
SourceLocation lastOwnSourceLocation () const
 
QString toString () const
 
void toString (QString *out) const
 
- Public Member Functions inherited from QQmlJS::AST::Node
 Node ()
 
virtual ~Node ()
 
virtual ExpressionNodeexpressionCast ()
 
virtual BinaryExpressionbinaryExpressionCast ()
 
virtual StatementstatementCast ()
 
virtual UiObjectMemberuiObjectMemberCast ()
 
virtual LeftHandSideExpressionleftHandSideExpressionCast ()
 
virtual PatternpatternCast ()
 
virtual FunctionExpressionasFunctionDefinition ()
 
virtual ClassExpressionasClassDefinition ()
 
bool ignoreRecursionDepth () const
 
void accept (BaseVisitor *visitor)
 
virtual void accept0 (BaseVisitor *visitor)=0
 
virtual SourceLocation firstSourceLocation () const =0
 
virtual SourceLocation lastSourceLocation () const =0
 
- Public Member Functions inherited from QQmlJS::Managed
 Managed ()=default
 
 ~Managed ()=default
 
voidoperator new (size_t size, MemoryPool *pool)
 
void operator delete (void *)
 
void operator delete (void *, MemoryPool *)
 

Public Attributes

UiQualifiedIdnext
 
QStringView name
 
SourceLocation identifierToken
 
- Public Attributes inherited from QQmlJS::AST::Node
int kind = Kind_Undefined
 

Additional Inherited Members

- Public Types inherited from QQmlJS::AST::Node
enum  Kind {
  Kind_Undefined , Kind_ArgumentList , Kind_ArrayPattern , Kind_ArrayMemberExpression ,
  Kind_BinaryExpression , Kind_Block , Kind_BreakStatement , Kind_CallExpression ,
  Kind_CaseBlock , Kind_CaseClause , Kind_CaseClauses , Kind_Catch ,
  Kind_ConditionalExpression , Kind_ContinueStatement , Kind_DebuggerStatement , Kind_DefaultClause ,
  Kind_DeleteExpression , Kind_DoWhileStatement , Kind_ElementList , Kind_Elision ,
  Kind_EmptyStatement , Kind_Expression , Kind_ExpressionStatement , Kind_FalseLiteral ,
  Kind_SuperLiteral , Kind_FieldMemberExpression , Kind_Finally , Kind_ForEachStatement ,
  Kind_ForStatement , Kind_FormalParameterList , Kind_FunctionBody , Kind_FunctionDeclaration ,
  Kind_FunctionExpression , Kind_ClassExpression , Kind_ClassDeclaration , Kind_IdentifierExpression ,
  Kind_IdentifierPropertyName , Kind_ComputedPropertyName , Kind_IfStatement , Kind_LabelledStatement ,
  Kind_NameSpaceImport , Kind_ImportSpecifier , Kind_ImportsList , Kind_NamedImports ,
  Kind_ImportClause , Kind_FromClause , Kind_ImportDeclaration , Kind_Module ,
  Kind_ExportSpecifier , Kind_ExportsList , Kind_ExportClause , Kind_ExportDeclaration ,
  Kind_NewExpression , Kind_NewMemberExpression , Kind_NotExpression , Kind_NullExpression ,
  Kind_YieldExpression , Kind_NumericLiteral , Kind_NumericLiteralPropertyName , Kind_ObjectPattern ,
  Kind_PostDecrementExpression , Kind_PostIncrementExpression , Kind_PreDecrementExpression , Kind_PreIncrementExpression ,
  Kind_Program , Kind_PropertyDefinitionList , Kind_PropertyGetterSetter , Kind_PropertyName ,
  Kind_PropertyNameAndValue , Kind_RegExpLiteral , Kind_ReturnStatement , Kind_StatementList ,
  Kind_StringLiteral , Kind_StringLiteralPropertyName , Kind_SwitchStatement , Kind_TemplateLiteral ,
  Kind_TaggedTemplate , Kind_TypeExpression , Kind_ThisExpression , Kind_ThrowStatement ,
  Kind_TildeExpression , Kind_TrueLiteral , Kind_TryStatement , Kind_TypeOfExpression ,
  Kind_UnaryMinusExpression , Kind_UnaryPlusExpression , Kind_VariableDeclaration , Kind_VariableDeclarationList ,
  Kind_VariableStatement , Kind_VoidExpression , Kind_WhileStatement , Kind_WithStatement ,
  Kind_NestedExpression , Kind_ClassElementList , Kind_PatternElement , Kind_PatternElementList ,
  Kind_PatternProperty , Kind_PatternPropertyList , Kind_Type , Kind_TypeArgument ,
  Kind_TypeAnnotation , Kind_UiArrayBinding , Kind_UiImport , Kind_UiObjectBinding ,
  Kind_UiObjectDefinition , Kind_UiInlineComponent , Kind_UiObjectInitializer , Kind_UiObjectMemberList ,
  Kind_UiArrayMemberList , Kind_UiPragmaValueList , Kind_UiPragma , Kind_UiProgram ,
  Kind_UiParameterList , Kind_UiPropertyAttributes , Kind_UiPublicMember , Kind_UiQualifiedId ,
  Kind_UiScriptBinding , Kind_UiSourceElement , Kind_UiHeaderItemList , Kind_UiEnumDeclaration ,
  Kind_UiEnumMemberList , Kind_UiVersionSpecifier , Kind_UiRequired , Kind_UiAnnotation ,
  Kind_UiAnnotationList
}
 
- Static Public Member Functions inherited from QQmlJS::AST::Node
static void accept (Node *node, BaseVisitor *visitor)
 

Detailed Description

Definition at line 301 of file qqmljsast_p.h.

Constructor & Destructor Documentation

◆ UiQualifiedId() [1/2]

QQmlJS::AST::UiQualifiedId::UiQualifiedId ( QStringView  name)
inline

Definition at line 306 of file qqmljsast_p.h.

◆ UiQualifiedId() [2/2]

QQmlJS::AST::UiQualifiedId::UiQualifiedId ( UiQualifiedId previous,
QStringView  name 
)
inline

Definition at line 310 of file qqmljsast_p.h.

References next, and next.

Member Function Documentation

◆ accept0()

void QQmlJS::AST::UiQualifiedId::accept0 ( BaseVisitor visitor)
overridevirtual

Implements QQmlJS::AST::Node.

Definition at line 1298 of file qqmljsast.cpp.

◆ finish()

UiQualifiedId * QQmlJS::AST::UiQualifiedId::finish ( )
inline

Definition at line 318 of file qqmljsast_p.h.

References next.

◆ firstSourceLocation()

SourceLocation QQmlJS::AST::UiQualifiedId::firstSourceLocation ( ) const
inlineoverridevirtual

Implements QQmlJS::AST::Node.

Definition at line 327 of file qqmljsast_p.h.

Referenced by QmlIR::IRBuilder::defineQMLObject(), QmlIR::IRBuilder::resolveQualifiedId(), QmlIR::IRBuilder::visit(), QmlIR::IRBuilder::visit(), and QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ lastOwnSourceLocation()

SourceLocation QQmlJS::AST::UiQualifiedId::lastOwnSourceLocation ( ) const
inline

Definition at line 335 of file qqmljsast_p.h.

◆ lastSourceLocation()

SourceLocation QQmlJS::AST::UiQualifiedId::lastSourceLocation ( ) const
inlineoverridevirtual

Implements QQmlJS::AST::Node.

Definition at line 330 of file qqmljsast_p.h.

References QQmlJS::AST::lastListElement().

+ Here is the call graph for this function:

◆ toString() [1/2]

QString QQmlJS::AST::UiQualifiedId::toString ( ) const
inline

Definition at line 337 of file qqmljsast_p.h.

References toString().

Referenced by QmlIR::Parameter::initType(), and QQmlJS::AST::Type::toString().

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

◆ toString() [2/2]

void QQmlJS::AST::UiQualifiedId::toString ( QString out) const
inline

Definition at line 344 of file qqmljsast_p.h.

References it, and out.

Member Data Documentation

◆ identifierToken

◆ name

QStringView QQmlJS::AST::UiQualifiedId::name

Definition at line 355 of file qqmljsast_p.h.

Referenced by QmlIR::IRBuilder::resolveQualifiedId(), and QmlIR::IRBuilder::visit().

◆ next

UiQualifiedId* QQmlJS::AST::UiQualifiedId::next

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