summaryrefslogtreecommitdiff
path: root/src/core/parser
AgeCommit message (Collapse)Author
2015-02-15Implemented most of the desired behaviour of the Stack class, added unit testsAndreas Stöckel
2015-02-15Commented out Callbacks in Handler, this is not implemented yetAndreas Stöckel
2015-02-15Renamed StateStack to StackAndreas Stöckel
2015-02-15Renamed header guardAndreas Stöckel
2015-02-15Implemented StaticFieldHandler and EmptyHandler default handler classesAndreas Stöckel
2015-02-15Renamed parser/generic to parser/stack and made filenames much shorterAndreas Stöckel
2015-02-14Moved Tokenizer to core/parser/utils and adapted nameAndreas Stöckel
2015-02-14Redefined public interface of ParserStateStackAndreas Stöckel
2015-02-14Implemented callback functions in ParserStateHandlerAndreas Stöckel
2015-02-14Splitted ParserStateCallbacks into two classes, one for communication ↵Andreas Stöckel
between the Handler and the Stack and one for communication between the Stack and the Parser
2015-02-14Removed GenericParser. All needed functionality will be present in the Stack ↵Andreas Stöckel
class.
2015-02-14Moved DynamicTokenizer and TokenTrie to parser/utilsAndreas Stöckel
2015-02-14Renamed ParserStateStack to ParserStackAndreas Stöckel
2015-02-14Moved code for the "Handler" class to own unitAndreas Stöckel
2015-02-14Header for Callbacks that can be directed from a ParserHandler to the parser ↵Andreas Stöckel
in order to control the parsing process
2015-02-14Introduced "GenericParser" class for common code shared between parsersAndreas Stöckel
2015-02-14Moved specific file format parsers to formats/ folder, moved old tokenizer ↵Andreas Stöckel
to css code (this is the only place where it is actually used)
2015-02-10Skeleton for GenericParser classAndreas Stöckel
2015-02-07Unified handling of references to Rtti instances: Now using pointers everywhereAndreas Stöckel
2015-02-06added a todo for andreas. xml tags may contain :Benjamin Paassen
2015-02-06Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
Conflicts: application/src/plugins/xml/XmlParser.cpp
2015-02-06added new resolve method.Benjamin Paassen
2015-02-06Removed childHandler, added "*" notationAndreas Stöckel
2015-02-05Added hasNonWhitepaceChar functionAndreas Stöckel
2015-02-03Fixed XML-Importer failingAndreas Stöckel
2015-02-03Throwing an Exception in RttiScope.select if no node is found. This is much ↵Andreas Stöckel
cleaner.
2015-02-03Fixed commentAndreas Stöckel
2015-02-03Using correct "isa" provided by TypeAndreas Stöckel
2015-02-03Improved error messageAndreas Stöckel
2015-02-03Added "deduceState" functionAndreas Stöckel
2015-02-03Some refactoring, added function for extracting current type signatureAndreas Stöckel
2015-02-03Implemented ParserStateDeductor which is used to deduce the current ↵Andreas Stöckel
ParserState given the Type signature extracted from a ParserScope.
2015-02-02Removed "supportedTypes" from ParserState.Andreas Stöckel
2015-02-02Added function giving Handlers access to the ParserContext (for import, include)Andreas Stöckel
2015-02-01Improved ParserStack state descriptionAndreas Stöckel
2015-01-30Finished implementing constant importingAndreas Stöckel
2015-01-30stuffAndreas Stöckel
2015-01-29Unified signature of resolve functions, passing the "owner" to the callback ↵Andreas Stöckel
functions in ParserScope::resolve
2015-01-29ParserScope now stores the nodes for which the resolution was triggered and ↵Andreas Stöckel
first executes those resolutions that depend on not currently resolving nodes (this behaviour is needed for the resolution of constants).
2015-01-28Implemented select<T> functionAndreas Stöckel
2015-01-28Printing error messages for deferred resolution at the correct locationAndreas Stöckel
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-28Added select method and repair of some Doxygen commentsAndreas Stöckel
2015-01-27Renamed "link" to "import"Andreas Stöckel
2015-01-27Introduced notion of "flags" that can be set at a certain level of the ↵Andreas Stöckel
ParserScope in order to store data that should be available between parser instances, but cannot be stored in the object graph.
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-27Added fork, join, checkUnwound and getTopLevelNodes functionality to ↵Andreas Stöckel
ParserScope and using it in the Manager
2015-01-27Removed dependency between "Project" model class and parser/resources. This ↵Andreas Stöckel
reduces coupling and was stupid beforehand.
2015-01-26Improving logger output ParserScope for ambigous resolutionAndreas Stöckel