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_p.h File Reference

(266c20ec09ef2db1f7bb196758413eecd1f2d070)

#include "qqmldom_global.h"
#include "qqmldomitem_p.h"
#include <memory>
Include dependency graph for qqmldomfilelocations_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QQmlJS::Dom::FileLocations::Info
class  QQmlJS::Dom::FileLocations::Node
 Represents a Node of FileLocations tree. More...

Namespaces

namespace  QQmlJS
namespace  QQmlJS::Dom
namespace  QQmlJS::Dom::FileLocations
 Provides entities to maintain mappings between elements and their location in a file.

Typedefs

using QQmlJS::Dom::FileLocations::Tree = std::shared_ptr<Node>

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 &)
void QQmlJS::Dom::FileLocations::addRegion (const Tree &fLoc, FileLocationRegion region, SourceLocation loc)
QQmlJS::SourceLocation QQmlJS::Dom::FileLocations::region (const Tree &fLoc, FileLocationRegion region)