From 4c3d0cd465a4445e1fbd851e975727be064a92f4 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 27 Jan 2015 20:27:47 +0100 Subject: Renamed "link" to "import" --- src/core/parser/ParserContext.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/parser/ParserContext.hpp') diff --git a/src/core/parser/ParserContext.hpp b/src/core/parser/ParserContext.hpp index f6ae89c..2787225 100644 --- a/src/core/parser/ParserContext.hpp +++ b/src/core/parser/ParserContext.hpp @@ -99,7 +99,7 @@ public: /** * Parses a file with ParserContext and an empty ParserScope. The parsed - * object graph of files that are parsed using the "link" function is + * object graph of files that are parsed using the "import" function is * cached (in contrast to the "include" function). A copy of this parser * context will be passed to the called parser, with the ParserScope * reference stored in the "scope" variable exchanged by an empty scope. @@ -117,12 +117,12 @@ public: * checked, not the actual result. * @return the parsed node or nullptr if something goes wrong. */ - NodeVector link(const std::string &path, const std::string mimetype, + NodeVector import(const std::string &path, const std::string mimetype, const std::string rel, const RttiSet &supportedTypes); /** * Parses a file with ParserContext and the current ParserScope. In contrast - * to the "link" function, include() does not cache the parsed node (as it + * to the "import" function, include() does not cache the parsed node (as it * depends on the current ParserScope). * * @param path is the path of the file that should be parsed. -- cgit v1.2.3