summaryrefslogtreecommitdiff
path: root/src/core/parser/ParserContext.cpp
AgeCommit message (Collapse)Author
2015-01-28Returning again a single node as result of the import function (as this is ↵Andreas Stöckel
already explicitly checked for).
2015-01-27Renamed "link" to "import"Andreas Stöckel
2015-01-27Parsers do no longer return the node they have parsed (as this may be ↵Andreas Stöckel
ill-defined -- if a parser only parses a partial document via include, there may be many to no nodes that are returned). Parsers should just use the ParserScope.push funciton. All nodes pushed onto the top-level of the ParserScope are added treated as the nodes the parser has parsed. Adapted all code and all tests accordingly.
2015-01-27Removed no longer needed variant of the clone functionAndreas Stöckel
2015-01-27Removed dependency between "Project" model class and parser/resources. This ↵Andreas Stöckel
reduces coupling and was stupid beforehand.
2015-01-25Restructures parser classes a little, removed Registry from ParserContext, ↵Andreas Stöckel
gave a ResourceManager instance to the Project, using ResourceRequest when including or linking files, thought through how "including" and "linking" are handled
2015-01-21Some further refactoring -- renamed Scope to ParserScope, got rid of parser ↵Andreas Stöckel
namespace, added new functionality to RegistryClass, wrote documentation, added function for extracting file extensions to Utils