summaryrefslogtreecommitdiff
path: root/src/core/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser')
-rw-r--r--src/core/parser/Scope.cpp8
-rw-r--r--src/core/parser/Scope.hpp12
2 files changed, 10 insertions, 10 deletions
diff --git a/src/core/parser/Scope.cpp b/src/core/parser/Scope.cpp
index 6e7dceb..6942b9a 100644
--- a/src/core/parser/Scope.cpp
+++ b/src/core/parser/Scope.cpp
@@ -46,7 +46,7 @@ GuardedScope::GuardedScope(GuardedScope &&s)
/* Class ScopeBase */
Rooted<Node> ScopeBase::resolve(const std::vector<std::string> &path,
- const RttiType &type, Logger &logger)
+ const Rtti &type, Logger &logger)
{
// Go up the stack and try to resolve the
for (auto it = nodes.rbegin(); it != nodes.rend(); it++) {
@@ -75,7 +75,7 @@ Rooted<Node> ScopeBase::resolve(const std::vector<std::string> &path,
DeferredResolution::DeferredResolution(const NodeVector<Node> &nodes,
const std::vector<std::string> &path,
- const RttiType &type,
+ const Rtti &type,
ResolutionResultCallback resultCallback,
const SourceLocation &location)
: scope(nodes),
@@ -116,7 +116,7 @@ Rooted<Node> Scope::getRoot() const { return nodes.front(); }
Rooted<Node> Scope::getLeaf() { return nodes.back(); }
-bool Scope::resolve(const std::vector<std::string> &path, const RttiType &type,
+bool Scope::resolve(const std::vector<std::string> &path, const Rtti &type,
Logger &logger, ResolutionImposterCallback imposterCallback,
ResolutionResultCallback resultCallback,
const SourceLocation &location)
@@ -128,7 +128,7 @@ bool Scope::resolve(const std::vector<std::string> &path, const RttiType &type,
return true;
}
-bool Scope::resolve(const std::vector<std::string> &path, const RttiType &type,
+bool Scope::resolve(const std::vector<std::string> &path, const Rtti &type,
Logger &logger, ResolutionResultCallback resultCallback,
const SourceLocation &location)
{
diff --git a/src/core/parser/Scope.hpp b/src/core/parser/Scope.hpp
index 20a189a..1ceac2e 100644
--- a/src/core/parser/Scope.hpp
+++ b/src/core/parser/Scope.hpp
@@ -142,7 +142,7 @@ public:
* found.
*/
Rooted<Node> resolve(const std::vector<std::string> &path,
- const RttiType &type, Logger &logger);
+ const Rtti &type, Logger &logger);
};
/**
@@ -173,7 +173,7 @@ public:
/**
* Reference at the type of the object that should be resolved.
*/
- const RttiType &type;
+ const Rtti &type;
/**
* Position at which the resolution was triggered.
@@ -188,14 +188,14 @@ public:
* Scope class.
* @param path is the path that was queried when the resolution failed the
* first time.
- * @param type is the RttiType of the element that should be queried.
+ * @param type is the Rtti of the element that should be queried.
* @param resultCallback is the callback function that should be called if
* the desired element has indeed been found.
* @param location is the location at which the resolution was triggered.
*/
DeferredResolution(const NodeVector<Node> &nodes,
const std::vector<std::string> &path,
- const RttiType &type,
+ const Rtti &type,
ResolutionResultCallback resultCallback,
const SourceLocation &location = SourceLocation{});
@@ -294,7 +294,7 @@ public:
* mean, that the resolved object does not exist, as it may be resolved
* later.
*/
- bool resolve(const std::vector<std::string> &path, const RttiType &type,
+ bool resolve(const std::vector<std::string> &path, const Rtti &type,
Logger &logger, ResolutionImposterCallback imposterCallback,
ResolutionResultCallback resultCallback,
const SourceLocation &location = SourceLocation{});
@@ -318,7 +318,7 @@ public:
* mean, that the resolved object does not exist, as it may be resolved
* later.
*/
- bool resolve(const std::vector<std::string> &path, const RttiType &type,
+ bool resolve(const std::vector<std::string> &path, const Rtti &type,
Logger &logger, ResolutionResultCallback resultCallback,
const SourceLocation &location = SourceLocation{});