Check Class

(QmlJS::Check)

Public Functions

Check(Document::Ptr doc, const ContextPtr &context)
~Check()
void disableMessage(StaticAnalysis::Type type)
void disableQmlDesignerChecks()
void disableQmlDesignerUiFileChecks()
void enableMessage(StaticAnalysis::Type type)
void enableQmlDesignerChecks()
void enableQmlDesignerUiFileChecks()
QList<StaticAnalysis::Message> operator()()

Protected Functions

void endVisit(QmlJS::AST::UiObjectInitializer *) override
void postVisit(AST::Node *ast) override
bool preVisit(AST::Node *ast) override
bool visit(AST::UiProgram *ast) override
bool visit(AST::UiObjectDefinition *ast) override
bool visit(AST::UiObjectBinding *ast) override
bool visit(AST::UiScriptBinding *ast) override
bool visit(AST::UiArrayBinding *ast) override
bool visit(AST::UiPublicMember *ast) override
bool visit(AST::IdentifierExpression *ast) override
bool visit(AST::FieldMemberExpression *ast) override
bool visit(AST::FunctionDeclaration *ast) override
bool visit(AST::FunctionExpression *ast) override
bool visit(AST::UiObjectInitializer *) override
bool visit(AST::BinaryExpression *ast) override
bool visit(AST::Block *ast) override
bool visit(AST::WithStatement *ast) override
bool visit(AST::VoidExpression *ast) override
bool visit(AST::Expression *ast) override
bool visit(AST::ExpressionStatement *ast) override
bool visit(AST::IfStatement *ast) override
bool visit(AST::ForStatement *ast) override
bool visit(AST::LocalForStatement *ast) override
bool visit(AST::WhileStatement *ast) override
bool visit(AST::DoWhileStatement *ast) override
bool visit(AST::CaseBlock *ast) override
bool visit(AST::NewExpression *ast) override
bool visit(AST::NewMemberExpression *ast) override
bool visit(AST::CallExpression *ast) override
bool visit(AST::StatementList *ast) override
bool visit(AST::ReturnStatement *ast) override
bool visit(AST::ThrowStatement *ast) override
bool visit(AST::DeleteExpression *ast) override
bool visit(AST::TypeOfExpression *ast) override

Member Function Documentation

Check::Check(Document::Ptr doc, const ContextPtr &context)

Default constructs an instance of Check.

Check::~Check()

Destroys the instance of Check.

void Check::disableMessage(StaticAnalysis::Type type)

void Check::disableQmlDesignerChecks()

void Check::disableQmlDesignerUiFileChecks()

void Check::enableMessage(StaticAnalysis::Type type)

void Check::enableQmlDesignerChecks()

void Check::enableQmlDesignerUiFileChecks()

[protected] void Check::endVisit(QmlJS::AST::UiObjectInitializer *)

[protected] void Check::postVisit(AST::Node *ast)

[protected] bool Check::preVisit(AST::Node *ast)

[protected] bool Check::visit(AST::UiProgram *ast)

[protected] bool Check::visit(AST::UiObjectDefinition *ast)

[protected] bool Check::visit(AST::UiObjectBinding *ast)

[protected] bool Check::visit(AST::UiScriptBinding *ast)

[protected] bool Check::visit(AST::UiArrayBinding *ast)

[protected] bool Check::visit(AST::UiPublicMember *ast)

[protected] bool Check::visit(AST::IdentifierExpression *ast)

[protected] bool Check::visit(AST::FieldMemberExpression *ast)

[protected] bool Check::visit(AST::FunctionDeclaration *ast)

[protected] bool Check::visit(AST::FunctionExpression *ast)

[protected] bool Check::visit(AST::UiObjectInitializer *)

[protected] bool Check::visit(AST::BinaryExpression *ast)

[protected] bool Check::visit(AST::Block *ast)

[protected] bool Check::visit(AST::WithStatement *ast)

[protected] bool Check::visit(AST::VoidExpression *ast)

[protected] bool Check::visit(AST::Expression *ast)

[protected] bool Check::visit(AST::ExpressionStatement *ast)

[protected] bool Check::visit(AST::IfStatement *ast)

[protected] bool Check::visit(AST::ForStatement *ast)

[protected] bool Check::visit(AST::LocalForStatement *ast)

[protected] bool Check::visit(AST::WhileStatement *ast)

[protected] bool Check::visit(AST::DoWhileStatement *ast)

[protected] bool Check::visit(AST::CaseBlock *ast)

[protected] bool Check::visit(AST::NewExpression *ast)

[protected] bool Check::visit(AST::NewMemberExpression *ast)

[protected] bool Check::visit(AST::CallExpression *ast)

[protected] bool Check::visit(AST::StatementList *ast)

[protected] bool Check::visit(AST::ReturnStatement *ast)

[protected] bool Check::visit(AST::ThrowStatement *ast)

[protected] bool Check::visit(AST::DeleteExpression *ast)

[protected] bool Check::visit(AST::TypeOfExpression *ast)

QList<StaticAnalysis::Message> Check::operator()()