diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/parser/ParserContext.cpp | 6 | ||||
-rw-r--r-- | src/core/parser/ParserContext.hpp | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/core/parser/ParserContext.cpp b/src/core/parser/ParserContext.cpp index b0d04d4..3a651f0 100644 --- a/src/core/parser/ParserContext.cpp +++ b/src/core/parser/ParserContext.cpp @@ -61,12 +61,6 @@ ParserContext ParserContext::clone(ParserScope &scope, SourceId sourceId) const project, logger, sourceId}; } -ParserContext ParserContext::clone(SourceId sourceId) const -{ - return ParserContext{registry, resourceManager, scope, - project, logger, sourceId}; -} - Manager &ParserContext::getManager() const { return project->getManager(); } } diff --git a/src/core/parser/ParserContext.hpp b/src/core/parser/ParserContext.hpp index f422e10..9b6eca0 100644 --- a/src/core/parser/ParserContext.hpp +++ b/src/core/parser/ParserContext.hpp @@ -151,14 +151,6 @@ public: ParserContext clone(ParserScope &scope, SourceId sourceId) const; /** - * Clones the ParserContext instance but exchanges the source id. - * - * @param sourceId is the source id the parser is reading from. - * @return a copy of this ParserContext with exchanged source id. - */ - ParserContext clone(SourceId sourceId) const; - - /** * Returns a reference pointing at the Registry used within this parser * context. * |