diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-27 20:27:47 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-27 20:27:47 +0100 |
commit | 4c3d0cd465a4445e1fbd851e975727be064a92f4 (patch) | |
tree | 3b6832a9b33ace78ceb136020066945929d415ab /src/core/parser/ParserContext.hpp | |
parent | 34ea1fe74746577f1834b5556183cd230201146f (diff) |
Renamed "link" to "import"
Diffstat (limited to 'src/core/parser/ParserContext.hpp')
-rw-r--r-- | src/core/parser/ParserContext.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<Node> link(const std::string &path, const std::string mimetype, + NodeVector<Node> 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. |