Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::Compiler::CodegenWarningInterface Class Reference

#include <qv4codegen_p.h>

+ Inheritance diagram for QV4::Compiler::CodegenWarningInterface:
+ Collaboration diagram for QV4::Compiler::CodegenWarningInterface:

Public Member Functions

virtual void reportVarUsedBeforeDeclaration (const QString &name, const QString &fileName, QQmlJS::SourceLocation declarationLocation, QQmlJS::SourceLocation accessLocation)
 
virtual ~CodegenWarningInterface ()=default
 

Detailed Description

Definition at line 47 of file qv4codegen_p.h.

Constructor & Destructor Documentation

◆ ~CodegenWarningInterface()

virtual QV4::Compiler::CodegenWarningInterface::~CodegenWarningInterface ( )
virtualdefault

Member Function Documentation

◆ reportVarUsedBeforeDeclaration()

void CodegenWarningInterface::reportVarUsedBeforeDeclaration ( const QString name,
const QString fileName,
QQmlJS::SourceLocation  declarationLocation,
QQmlJS::SourceLocation  accessLocation 
)
virtual

Reimplemented in CodegenWarningInterface.

Definition at line 41 of file qv4codegen.cpp.

References fileName, qCWarning, QQmlJS::SourceLocation::startColumn, and QQmlJS::SourceLocation::startLine.

Referenced by QV4::Compiler::Codegen::referenceForName().

+ Here is the caller graph for this function:

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