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
CodegenWarningInterface Class Referencefinal
+ Inheritance diagram for CodegenWarningInterface:
+ Collaboration diagram for CodegenWarningInterface:

Public Member Functions

 CodegenWarningInterface (QQmlJSLogger *logger)
 
void reportVarUsedBeforeDeclaration (const QString &name, const QString &fileName, QQmlJS::SourceLocation declarationLocation, QQmlJS::SourceLocation accessLocation) override
 
- Public Member Functions inherited from QV4::Compiler::CodegenWarningInterface
virtual ~CodegenWarningInterface ()=default
 

Detailed Description

Definition at line 41 of file qqmljslinter.cpp.

Constructor & Destructor Documentation

◆ CodegenWarningInterface()

CodegenWarningInterface::CodegenWarningInterface ( QQmlJSLogger * logger)
inline

Definition at line 44 of file qqmljslinter.cpp.

Member Function Documentation

◆ reportVarUsedBeforeDeclaration()

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

Reimplemented from QV4::Compiler::CodegenWarningInterface.

Definition at line 46 of file qqmljslinter.cpp.

References arg, fileName, QQmlJSLogger::log(), Q_UNUSED, qmlVarUsedBeforeDeclaration, QQmlJS::SourceLocation::startColumn, and QQmlJS::SourceLocation::startLine.

+ Here is the call graph for this function:

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