summaryrefslogtreecommitdiff
path: root/src/core/parser/ParserContext.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-27 21:19:55 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-27 21:19:55 +0100
commit32f305fe931ec68b68326cf9f4cd64e7550af326 (patch)
tree309baeebae10627e94080d5f56e83d9ade4a86de /src/core/parser/ParserContext.hpp
parent048db07ca91505ccfcb98e29ed6868f1aa64a514 (diff)
parent4c3d0cd465a4445e1fbd851e975727be064a92f4 (diff)
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'src/core/parser/ParserContext.hpp')
-rw-r--r--src/core/parser/ParserContext.hpp6
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.