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>.
|
#include <qqmldomastcreator_p.h>
Friends | |
class | QQmlDomAstCreatorWithQQmlJSScope |
Additional Inherited Members | |
Protected Attributes inherited from QQmlJS::AST::BaseVisitor | |
quint16 | m_recursionDepth = 0 |
Definition at line 35 of file qqmldomastcreator_p.h.
|
explicit |
Definition at line 318 of file qqmldomastcreator.cpp.
|
inline |
Definition at line 128 of file qqmldomastcreator_p.h.
Referenced by QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::enableLoadFileLazily().
|
inline |
Definition at line 127 of file qqmldomastcreator_p.h.
Referenced by QQmlJS::Dom::QQmlDomAstCreatorWithQQmlJSScope::enableScriptExpressions().
|
override |
Definition at line 1909 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ScriptElements::BinaryExpression::ArrayMemberAccess, QQmlJS::AST::ArrayMemberExpression::base, QQmlJS::AST::ArrayMemberExpression::expression, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::AST::ArrayMemberExpression::lbracketToken, QQmlJS::Dom::OperatorTokenRegion, and Q_SCRIPTELEMENT_EXIT_IF.
|
override |
Definition at line 1979 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), list, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::ScriptArray, QQmlJS::Dom::ScriptArrayEntry, and QQmlJS::Dom::ScriptPattern.
|
override |
Definition at line 1491 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::OperatorTokenRegion, and Q_SCRIPTELEMENT_EXIT_IF.
|
override |
Definition at line 1516 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QQmlJS::Dom::List, Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::AST::Block::statements.
|
override |
Definition at line 2514 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::BreakKeywordRegion, QQmlJS::AST::BreakStatement::breakToken, QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::AST::BreakStatement::identifierToken, QStringView::isEmpty(), QQmlJS::AST::BreakStatement::label, and QQmlJS::Dom::ScriptBreakStatement.
|
override |
Definition at line 1943 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, and QQmlJS::Dom::ScriptCallExpression.
|
override |
Definition at line 2207 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftBraceRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightBraceRegion, and QQmlJS::Dom::ScriptCaseBlock.
|
override |
Definition at line 2151 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::CaseKeywordRegion, QQmlJS::Dom::ColonTokenRegion, QList< T >::isEmpty(), QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::Dom::ScriptCaseClause.
|
override |
Definition at line 2183 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_EXIT_IF, and QList< T >::takeLast().
|
override |
Definition at line 2444 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2382 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2567 of file qqmldomastcreator.cpp.
References QQmlJS::AST::ConditionalExpression::colonToken, QQmlJS::Dom::ColonTokenRegion, QQmlJS::AST::ConditionalExpression::expression, QList< T >::isEmpty(), QQmlJS::AST::ConditionalExpression::ko, QList< T >::last(), QQmlJS::AST::ConditionalExpression::ok, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::QuestionMarkTokenRegion, QQmlJS::AST::ConditionalExpression::questionToken, and QQmlJS::Dom::ScriptConditionalExpression.
|
override |
Definition at line 2602 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ContinueKeywordRegion, QQmlJS::AST::ContinueStatement::continueToken, QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::AST::ContinueStatement::identifierToken, QStringView::isEmpty(), QQmlJS::AST::ContinueStatement::label, and QQmlJS::Dom::ScriptContinueStatement.
|
override |
Definition at line 2125 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ColonTokenRegion, QQmlJS::Dom::DefaultKeywordRegion, QList< T >::isEmpty(), Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::Dom::ScriptDefaultClause.
|
override |
Definition at line 2749 of file qqmldomastcreator.cpp.
References QQmlJS::AST::DeleteExpression::deleteToken, and QQmlJS::AST::DeleteExpression::expression.
|
override |
Definition at line 2308 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::DoKeywordRegion, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::Dom::ScriptDoWhileStatement, and QQmlJS::Dom::WhileKeywordRegion.
|
override |
Definition at line 2839 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ScriptEmptyStatement, QQmlJS::AST::EmptyStatement::semicolonToken, and QQmlJS::Dom::SemicolonTokenRegion.
|
override |
Definition at line 2539 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::OperatorTokenRegion, and Q_SCRIPTELEMENT_EXIT_IF.
|
override |
Definition at line 1878 of file qqmldomastcreator.cpp.
References QQmlJS::AST::FieldMemberExpression::base, QQmlJS::AST::FieldMemberExpression::dotToken, QQmlJS::Dom::ScriptElements::BinaryExpression::FieldMemberAccess, QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::AST::FieldMemberExpression::identifierToken, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::AST::FieldMemberExpression::name, QQmlJS::Dom::OperatorTokenRegion, and Q_SCRIPTELEMENT_EXIT_IF.
|
override |
Definition at line 2455 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2342 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::InOfTokenRegion, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, and QQmlJS::Dom::ScriptForEachStatement.
|
override |
Definition at line 1540 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FirstSemicolonTokenRegion, QQmlJS::Dom::ForKeywordRegion, QQmlJS::Dom::ScriptElementVariant::fromElement(), QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, list, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::Dom::ScriptPattern, QQmlJS::Dom::ScriptVariableDeclaration, QQmlJS::Dom::ScriptVariableDeclarationEntry, and QQmlJS::Dom::SecondSemicolonRegion.
|
override |
Definition at line 757 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::combineLocations(), QList< T >::empty(), QQmlJS::Dom::FileLocations::ensure(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::ScriptElementVariant::fromElement(), QList< T >::isEmpty(), it, QList< T >::last(), Q_SCRIPTELEMENT_DISABLE, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::AttachedInfo::Relative, QQmlJS::Dom::setFormalParameterKind(), and variant.
|
override |
Definition at line 1815 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ElseKeywordRegion, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QList< T >::removeLast(), and QQmlJS::Dom::RightParenthesisRegion.
|
override |
Definition at line 2487 of file qqmldomastcreator.cpp.
References QQmlJS::AST::LabelledStatement::colonToken, QQmlJS::Dom::ColonTokenRegion, QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::AST::LabelledStatement::identifierToken, QList< T >::isEmpty(), QQmlJS::AST::LabelledStatement::label, QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::ScriptLabelledStatement, and QQmlJS::AST::LabelledStatement::statement.
|
override |
Definition at line 2854 of file qqmldomastcreator.cpp.
References QQmlJS::AST::NestedExpression::expression, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, QQmlJS::AST::NestedExpression::lparenToken, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::AST::NestedExpression::rparenToken, and QQmlJS::Dom::ScriptParenthesizedExpression.
|
override |
Definition at line 2713 of file qqmldomastcreator.cpp.
References QQmlJS::AST::NotExpression::expression, and QQmlJS::AST::NotExpression::notToken.
|
override |
Definition at line 2010 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::Dom::ScriptObject.
|
override |
Definition at line 1793 of file qqmldomastcreator.cpp.
References endVisitHelper(), and QQmlJS::Dom::ScriptPattern.
|
override |
Definition at line 2038 of file qqmldomastcreator.cpp.
References endVisitHelper(), QList< T >::isEmpty(), QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::Dom::ScriptProperty.
|
override |
Definition at line 2785 of file qqmldomastcreator.cpp.
References QQmlJS::AST::PostDecrementExpression::base, and QQmlJS::AST::PostDecrementExpression::decrementToken.
|
override |
Definition at line 2803 of file qqmldomastcreator.cpp.
References QQmlJS::AST::PostIncrementExpression::base, and QQmlJS::AST::PostIncrementExpression::incrementToken.
|
override |
Definition at line 2877 of file qqmldomastcreator.cpp.
References QQmlJS::AST::PreDecrementExpression::decrementToken, and QQmlJS::AST::PreDecrementExpression::expression.
|
override |
Definition at line 2821 of file qqmldomastcreator.cpp.
References QQmlJS::AST::PreIncrementExpression::expression, and QQmlJS::AST::PreIncrementExpression::incrementToken.
|
override |
Definition at line 1853 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, and QQmlJS::Dom::ReturnKeywordRegion.
|
override |
Definition at line 1467 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_EXIT_IF, and QList< T >::takeLast().
|
override |
Definition at line 2244 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, and QQmlJS::Dom::ScriptSwitchStatement.
|
override |
Definition at line 2465 of file qqmldomastcreator.cpp.
References QQmlJS::AST::ThrowStatement::expression, QList< T >::isEmpty(), QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::ScriptThrowStatement, QQmlJS::Dom::ThrowKeywordRegion, and QQmlJS::AST::ThrowStatement::throwToken.
|
override |
Definition at line 2695 of file qqmldomastcreator.cpp.
References QQmlJS::AST::TildeExpression::expression, and QQmlJS::AST::TildeExpression::tildeToken.
|
override |
Definition at line 2400 of file qqmldomastcreator.cpp.
References QQmlJS::AST::TryStatement::catchExpression, QQmlJS::Dom::CatchKeywordRegion, QQmlJS::AST::TryStatement::finallyExpression, QQmlJS::Dom::FinallyKeywordRegion, QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::Dom::ScriptTryCatchStatement, QQmlJS::AST::TryStatement::statement, QQmlJS::Dom::TryKeywordRegion, and QQmlJS::AST::TryStatement::tryToken.
Definition at line 2098 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::fieldMemberExpressionForQualifiedId(), and QQmlJS::Dom::ScriptType.
|
override |
Definition at line 2731 of file qqmldomastcreator.cpp.
References QQmlJS::AST::TypeOfExpression::expression, and QQmlJS::AST::TypeOfExpression::typeofToken.
|
override |
Definition at line 1426 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, QQmlJS::Dom::Id, QQmlJS::Dom::MethodInfo, QQmlJS::Dom::PropertyDefinition, and QQmlJS::Dom::QmlObject.
|
override |
Definition at line 1169 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 1308 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::EnumDecl, QQmlJS::Dom::EnumDecl::name(), Q_ASSERT, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 1332 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), and el.
|
override |
Definition at line 1366 of file qqmldomastcreator.cpp.
References component(), QString::mid(), Q_ASSERT, QQmlJS::Dom::QmlComponent, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 999 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, QQmlJS::Dom::Path::headIndex(), QQmlJS::Dom::Path::last(), Q_ASSERT, QQmlJS::Dom::QmlObject, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 906 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, QQmlJS::Dom::Path::Field(), Q_ASSERT_X, QQmlJS::Dom::QmlComponent, and QQmlJS::Dom::QmlObject.
|
override |
Definition at line 372 of file qqmldomastcreator.cpp.
References Qt::CaseInsensitive, QQmlJS::Dom::MutableDomItem::path(), Q_ASSERT_X, and QQmlJS::Dom::QmlComponent.
|
override |
Definition at line 580 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), QQmlJS::Dom::Binding, el, QSet< T >::end(), QQmlJS::Dom::FileLocations::ensure(), QSet< T >::find(), it, QList< T >::last(), loadAnnotations(), QQmlJS::Dom::MethodInfo, QQmlJS::Dom::PropertyDefinition, Q_ASSERT, Q_SCRIPTELEMENT_DISABLE, QQmlJS::Dom::QmlObject::setName(), QList< T >::size(), and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 1111 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, QList< T >::empty(), QQmlJS::Dom::Id, Q_ASSERT, Q_SCRIPTELEMENT_DISABLE, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 830 of file qqmldomastcreator.cpp.
References el, loadAnnotations(), QQmlJS::Dom::MethodInfo, Q_ASSERT, and QQmlJS::Dom::valueFromMultimap().
|
override |
Definition at line 2659 of file qqmldomastcreator.cpp.
References QQmlJS::AST::UnaryMinusExpression::expression, and QQmlJS::AST::UnaryMinusExpression::minusToken.
|
override |
Definition at line 2677 of file qqmldomastcreator.cpp.
References QQmlJS::AST::UnaryPlusExpression::expression, and QQmlJS::AST::UnaryPlusExpression::plusToken.
|
override |
Definition at line 2069 of file qqmldomastcreator.cpp.
References QQmlJS::AST::VariableStatement::declarations, QList< T >::isEmpty(), list, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::ScriptPattern, QQmlJS::Dom::ScriptVariableDeclaration, and QQmlJS::Dom::ScriptVariableDeclarationEntry.
|
override |
Definition at line 2767 of file qqmldomastcreator.cpp.
References QQmlJS::AST::VoidExpression::expression, and QQmlJS::AST::VoidExpression::voidToken.
|
override |
Definition at line 2275 of file qqmldomastcreator.cpp.
References QList< T >::isEmpty(), QList< T >::last(), QQmlJS::Dom::LeftParenthesisRegion, Q_SCRIPTELEMENT_EXIT_IF, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::Dom::ScriptWhileStatement, and QQmlJS::Dom::WhileKeywordRegion.
void QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper | ( | AST::PatternElement * | pe, |
const std::shared_ptr< ScriptElements::GenericScriptElement > & | current ) |
Avoid code-duplication, reuse this code when doing endVisit on types inheriting from AST::PatternElement.
Definition at line 1763 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::EqualTokenRegion, QQmlJS::Dom::ScriptElementVariant::fromElement(), QList< T >::isEmpty(), QList< T >::last(), Q_SCRIPTELEMENT_EXIT_IF, and QList< T >::removeLast().
Referenced by endVisit(), and endVisit().
|
inline |
Definition at line 330 of file qqmldomastcreator_p.h.
References QQmlJS::AST::Node::accept(), and el.
Referenced by endVisit(), endVisit(), visit(), visit(), visit(), visit(), visit(), and visit().
|
overridevirtual |
Implements QQmlJS::AST::BaseVisitor.
Definition at line 1453 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::MutableDomItem::addError(), QQmlJS::Dom::astParseErrors(), error, and tr.
|
override |
Definition at line 1179 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), QList< T >::empty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_DISABLE, and QList< T >::removeLast().
|
override |
Definition at line 1901 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1971 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1483 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1508 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2509 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1935 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2199 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2143 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2175 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2438 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2373 of file qqmldomastcreator.cpp.
References Q_SCRIPTELEMENT_DISABLE.
|
override |
Definition at line 1698 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2562 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2597 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2117 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2744 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2300 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1733 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::ScriptElementVariant::fromElement(), it, list, and QQmlJS::Dom::ScriptElision.
|
override |
Definition at line 2834 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2533 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1647 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1870 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2449 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2334 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1532 of file qqmldomastcreator.cpp.
|
override |
Definition at line 646 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::ScriptExpression::ArgInitializer, args, QQmlJS::Dom::ScriptExpression::ArgumentStructure, QQmlJS::Dom::combineLocations(), QQmlJS::Dom::FileLocations::ensure(), QQmlJS::Dom::Path::Field(), QQmlJS::Dom::ScriptExpression::FunctionBody, QQmlJS::Dom::FunctionKeywordRegion, QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::KeepExisting, QQmlJS::Dom::LeftBraceRegion, QQmlJS::Dom::LeftParenthesisRegion, QQmlJS::SourceLocation::length, QQmlJS::Dom::MainRegion, QQmlJS::Dom::MethodInfo::Method, QString::mid(), QQmlJS::Dom::AttributeInfo::name, QQmlJS::Dom::MethodParameter::name, QQmlJS::SourceLocation::offset, QQmlJS::Dom::AttributeInfo::Public, QQmlJS::Dom::AttachedInfo::Relative, QQmlJS::Dom::ScriptExpression::ReturnType, QQmlJS::Dom::RightBraceRegion, QQmlJS::Dom::RightParenthesisRegion, QQmlJS::AST::PatternElement::SpreadElement, QQmlJS::Dom::TypeIdentifierRegion, and QQmlJS::Dom::typeToString().
|
override |
Definition at line 1594 of file qqmldomastcreator.cpp.
References QQmlJS::AST::IdentifierExpression::name.
|
override |
Definition at line 1658 of file qqmldomastcreator.cpp.
References QQmlJS::AST::IdentifierPropertyName::id.
|
override |
Definition at line 1807 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2482 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2849 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2708 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1625 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1605 of file qqmldomastcreator.cpp.
References QQmlJS::AST::NumericLiteral::value.
|
override |
Definition at line 1687 of file qqmldomastcreator.cpp.
References QQmlJS::AST::NumericLiteralPropertyName::id.
|
override |
Definition at line 2002 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1750 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1210 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), QList< T >::empty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_DISABLE, and QList< T >::removeLast().
|
override |
Definition at line 2030 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1244 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), QList< T >::empty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_DISABLE, and QList< T >::removeLast().
|
override |
Definition at line 2780 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2798 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2872 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2816 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1845 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1459 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1616 of file qqmldomastcreator.cpp.
References QQmlJS::AST::StringLiteral::value.
|
override |
Definition at line 1669 of file qqmldomastcreator.cpp.
References QQmlJS::AST::StringLiteralPropertyName::id.
|
override |
Definition at line 2236 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2386 of file qqmldomastcreator.cpp.
References Q_SCRIPTELEMENT_DISABLE.
|
override |
Definition at line 2460 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2690 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1636 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2395 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2090 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1678 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2726 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1389 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::Binding, QQmlJS::Dom::domTypeToString(), el, QQmlJS::Dom::Id, QQmlJS::Dom::MethodInfo, QQmlJS::Dom::PropertyDefinition, qCWarning, QQmlJS::Dom::QmlObject, QStringLiteral, QQmlJS::Dom::QmlObject::setName(), and QQmlJS::Dom::toString().
|
override |
Definition at line 1143 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::MutableDomItem::addError(), QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::astParseErrors(), QQmlJS::Dom::ColonTokenRegion, el, error, QQmlJS::Dom::Path::Field(), QQmlJS::Dom::KeepExisting, QQmlJS::Dom::LeftBracketRegion, loadAnnotations(), QQmlJS::Dom::Normal, QQmlJS::Dom::RightBracketRegion, QQmlJS::Dom::toString(), and tr.
|
override |
Definition at line 1294 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), el, QQmlJS::Dom::EnumKeywordRegion, QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::KeepExisting, loadAnnotations(), QQmlJS::Dom::EnumDecl::setName(), and QStringView::toString().
|
override |
Definition at line 1318 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), el, QQmlJS::Dom::EnumItem, QQmlJS::Dom::EnumValueRegion, QQmlJS::Dom::IdentifierRegion, it, QQmlJS::Dom::MainRegion, map, and QStringView::toString().
|
override |
Definition at line 410 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::AsTokenRegion, QQmlJS::Dom::MutableDomItem::canonicalFilePath(), QDir::canonicalPath(), QQmlJS::Dom::combineLocations(), QFileInfo::dir(), el, QQmlJS::Dom::MutableDomItem::environment(), QQmlJS::Dom::FileToLoad::fromFileSystem(), QQmlJS::Dom::IdNameRegion, QQmlJS::Dom::Import, QQmlJS::Dom::ImportTokenRegion, QQmlJS::Dom::ImportUriRegion, QQmlJS::Dom::MutableDomItem::item(), QQmlJS::Dom::Version::Latest, QQmlJS::Dom::DomEnvironment::NoDependencies, QQmlJS::Dom::DomEnvironment::options(), QQmlJS::Dom::MutableDomItem::ownerAs(), QQmlJS::Dom::QmlDirectory, and QQmlJS::Dom::VersionRegion.
|
override |
Definition at line 1337 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::ComponentKeywordRegion, el, QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::KeepExisting, loadAnnotations(), QQmlJS::Dom::QmlComponent, QQmlJS::Dom::ScriptType, QStringView::toString(), and typeName.
|
override |
Definition at line 955 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::MutableDomItem::addError(), QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::astParseErrors(), QQmlJS::Dom::Binding, QQmlJS::Dom::ColonTokenRegion, QQmlJS::Dom::combineLocations(), el, QQmlJS::Dom::fieldMemberExpressionForQualifiedId(), QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::KeepExisting, QQmlJS::Dom::LeftBraceRegion, loadAnnotations(), QQmlJS::Dom::Paths::lookupTypePath(), QQmlJS::Dom::Normal, QQmlJS::Dom::OnBinding, Q_ASSERT_X, QQmlJS::Dom::RightBraceRegion, QQmlJS::Dom::ScriptType, QQmlJS::Dom::toString(), tr, and warning().
|
override |
Definition at line 842 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::QmlObject::addPrototypePath(), QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::Binding, el, QQmlJS::Dom::FileLocations::ensure(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::fieldMemberExpressionForQualifiedId(), QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::Path::index(), QQmlJS::Dom::LeftBraceRegion, loadAnnotations(), QQmlJS::Dom::Paths::lookupTypePath(), QQmlJS::Dom::Path::mid(), QQmlJS::Dom::QmlObject::name(), Q_ASSERT_X, QQmlJS::Dom::QmlComponent, QQmlJS::Dom::QmlObject, QQmlJS::Dom::AttachedInfo::Relative, QQmlJS::Dom::RightBraceRegion, QQmlJS::Dom::ScriptType, QQmlJS::Dom::QmlObject::setName(), and QQmlJS::Dom::toString().
|
override |
Definition at line 1205 of file qqmldomastcreator.cpp.
|
override |
Definition at line 387 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::ColonTokenRegion, el, i, QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::Pragma, QQmlJS::Dom::PragmaKeywordRegion, QQmlJS::Dom::PragmaValuesRegion, and QStringView::toString().
|
override |
Definition at line 325 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::FileLocations::addRegion(), QQmlJS::Dom::MutableDomItem::canonicalFilePath(), QDir::canonicalPath(), QQmlJS::Dom::combineLocations(), QFileInfo::dir(), QQmlJS::Dom::MutableDomItem::environment(), QQmlJS::Dom::QmlUri::fromDirectoryString(), QQmlJS::Dom::FileToLoad::fromFileSystem(), i, QQmlJS::Dom::MutableDomItem::item(), QQmlJS::Dom::KeepExisting, QQmlJS::Dom::MainRegion, QQmlJS::Dom::DomEnvironment::NoDependencies, QQmlJS::Dom::DomEnvironment::options(), QQmlJS::Dom::MutableDomItem::ownerAs(), Q_ASSERT_X, QQmlJS::Dom::QmlComponent, and QQmlJS::Dom::QmlDirectory.
|
override |
Definition at line 467 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::MutableDomItem::addError(), QQmlJS::Dom::FileLocations::addRegion(), args, QQmlJS::Dom::astParseErrors(), QQmlJS::Dom::Binding, QQmlJS::Dom::ScriptExpression::BindingExpression, QQmlJS::Dom::ColonTokenRegion, QQmlJS::Dom::combineLocations(), QQmlJS::Dom::DefaultKeywordRegion, el, QQmlJS::Dom::FileLocations::ensure(), QQmlJS::Dom::Path::Field(), QQmlJS::Dom::fieldMemberExpressionForQualifiedId(), QQmlJS::Dom::ScriptElementVariant::fromElement(), QQmlJS::Dom::IdentifierRegion, QStringView::isEmpty(), QQmlJS::Dom::KeepExisting, QQmlJS::SourceLocation::length, QQmlJS::Dom::MainRegion, QString::mid(), QQmlJS::Dom::AttributeInfo::name, QQmlJS::Dom::MethodParameter::name, QQmlJS::Dom::Normal, QQmlJS::SourceLocation::offset, QQmlJS::AST::UiPublicMember::Property, QQmlJS::Dom::PropertyKeywordRegion, QQmlJS::Dom::AttributeInfo::Public, QQmlJS::Dom::ReadonlyKeywordRegion, QQmlJS::Dom::AttachedInfo::Relative, QQmlJS::Dom::RequiredKeywordRegion, QQmlJS::Dom::ScriptType, QQmlJS::AST::UiPublicMember::Signal, QQmlJS::Dom::MethodInfo::Signal, QQmlJS::Dom::SignalKeywordRegion, QStringView::toString(), QQmlJS::Dom::toString(), tr, QQmlJS::Dom::TypeIdentifierRegion, and warning().
|
override |
Definition at line 1286 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1377 of file qqmldomastcreator.cpp.
References el, QQmlJS::Dom::KeepExisting, QQmlJS::Dom::AttributeInfo::name, QQmlJS::Dom::PropertyDefinition, and QStringView::toString().
|
override |
Definition at line 1015 of file qqmldomastcreator.cpp.
References QQmlJS::Dom::MutableDomItem::addError(), QQmlJS::Dom::FileLocations::addRegion(), QRegularExpression::anchoredPattern(), arg, QQmlJS::Dom::astParseErrors(), QQmlJS::Dom::ScriptExpression::BindingExpression, QQmlJS::Dom::MutableDomItem::canonicalPath(), QQmlJS::Dom::ColonTokenRegion, QQmlJS::Dom::combineLocations(), el, QQmlJS::Dom::FileLocations::ensure(), QQmlJS::Dom::IdColonTokenRegion, QQmlJS::Dom::IdentifierRegion, QQmlJS::Dom::IdNameRegion, QQmlJS::Dom::IdTokenRegion, QQmlJS::Dom::KeepExisting, QQmlJS::SourceLocation::length, loadAnnotations(), QQmlJS::Dom::Path::mid(), QString::mid(), QQmlJS::Dom::Normal, QQmlJS::SourceLocation::offset, QQmlJS::Dom::Path::path(), QQmlJS::Dom::DomElement::pathFromOwner(), Q_ASSERT_X, QStringLiteral, QQmlJS::Dom::QmlObject::setIdStr(), QQmlJS::Dom::toString(), tr, and warning().
|
override |
Definition at line 738 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2654 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2672 of file qqmldomastcreator.cpp.
|
override |
Definition at line 1707 of file qqmldomastcreator.cpp.
References QQmlJS::AST::Node::accept(), QList< T >::empty(), it, QList< T >::last(), list, Q_SCRIPTELEMENT_DISABLE, and QList< T >::removeLast().
|
override |
Definition at line 2061 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2762 of file qqmldomastcreator.cpp.
|
override |
Definition at line 2267 of file qqmldomastcreator.cpp.
|
friend |
Definition at line 528 of file qqmldomastcreator_p.h.