forked from qt-creator/qt-creator
qmljs: reformat inline components
Fixes: QTCREATORBUG-25381 Change-Id: I472105cd6436d4d0ae7369880c332b8f4a2321ad Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
@@ -598,6 +598,15 @@ protected:
|
||||
return false;
|
||||
}
|
||||
|
||||
bool visit(UiInlineComponent *ast) override
|
||||
{
|
||||
out(ast->componentToken);
|
||||
out(" ");
|
||||
out(ast->name.toString());
|
||||
out(": ");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool visit(UiObjectDefinition *ast) override
|
||||
{
|
||||
accept(ast->qualifiedTypeNameId);
|
||||
|
||||
Reference in New Issue
Block a user