Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmldomfilelocations.cpp File Reference

(2a6ca2771df56a474f0fdce6c666de8b21d29078)

#include "qqmldom_fwd_p.h"
#include "qqmldompath_p.h"
#include "qqmldomfilelocations_p.h"
Include dependency graph for qqmldomfilelocations.cpp:

Go to the source code of this file.

Namespaces

namespace  QQmlJS
namespace  QQmlJS::Dom
namespace  QQmlJS::Dom::FileLocations
 Provides entities to maintain mappings between elements and their location in a file.
namespace  QQmlJS::Dom::FileLocations::Info
 Contains region information about the item.

Functions

Tree QQmlJS::Dom::FileLocations::createTree (const Path &basePath)
Tree QQmlJS::Dom::FileLocations::ensure (const Tree &base, const Path &basePath)
Tree QQmlJS::Dom::FileLocations::find (const Tree &self, const Path &p)
bool QQmlJS::Dom::FileLocations::visitTree (const Tree &base, function_ref< bool(const Path &, const Tree &)> visitor, const Path &basePath=Path())
QString QQmlJS::Dom::FileLocations::canonicalPathForTesting (const Tree &base)
Tree QQmlJS::Dom::FileLocations::treeOf (const DomItem &)
static void QQmlJS::Dom::FileLocations::updateFullLocation (const Tree &fLoc, SourceLocation loc)
void QQmlJS::Dom::FileLocations::addRegion (const Tree &fLoc, FileLocationRegion region, SourceLocation loc)
QQmlJS::SourceLocation QQmlJS::Dom::FileLocations::region (const Tree &fLoc, FileLocationRegion region)