summaryrefslogtreecommitdiff
path: root/test/core/parser
AgeCommit message (Collapse)Author
2016-04-25Adapt isNamespacededIdentifier to most recent identifier formatAndreas Stöckel
2016-04-25Implement endAtWhitespace flag which tells TokenizedDataReader to stop ↵Andreas Stöckel
reading data after the first whitespace character
2016-04-25AutoformatAndreas Stöckel
2016-04-25Pass "greedy" flag to Handler::startTokenAndreas Stöckel
2016-04-25Pass "isImplicit" flag to Handler::fieldStartAndreas Stöckel
2016-04-25Add greedy flag to TokenDescriptor and SyntaxDescriptor and set it ↵Andreas Stöckel
correctly. Shorten Stack "checkTokensAreUnambiguous" method
2016-04-25Add additional unit test to TokenStackTest making sure that the returned ↵Andreas Stöckel
token lists are actually sorted correctly
2016-04-25Reimplement closeToken handlingAndreas Stöckel
Idea: Only start unrolling anything on the parser stack if an element that matches the given close token is found. This requires the endToken method in DocumentChildHandler to search for the given descriptor that might be ended. While performing this search, only a specified number of "explicit" structures/fields opened by the Stack class may be skipped (those with implicit default fields). Added an integration test ("python_code") which requires this new (hopefully sane) behaviour.
2016-04-25Change way indent and dedent special tokens are produced by TokenizedDataAndreas Stöckel
* Move dedent to the end of the previous line * Leave indent to the first character of the current line * Dedent is called as many times as indent
2016-04-25Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵Andreas Stöckel
temporarily remove pushTokens and popTokens calls from DocumentChildHandler
2015-03-03Added unit tests for annotation handlingAndreas Stöckel
2015-03-03Finished stack and adapted all unit testsAndreas Stöckel
2015-03-03Started restructuring and adapting Stack class, reenabled unit tests (does ↵Andreas Stöckel
not compile right now)
2015-03-02Unregistering all registered tokens when TokenRegistry is destroyedAndreas Stöckel
2015-03-01Implemented TokenRegistry class and corresponding simple test caseAndreas Stöckel
2015-03-01Prefer longer non-primary tokensAndreas Stöckel
2015-03-01allowing to store gaps in SourceOffsetVector and fixed bug with trim not ↵Andreas Stöckel
resetting offsets correctly when the new length is zero
2015-02-28Test case for data being empty if a token is foundAndreas Stöckel
2015-02-26Reactivated TokenizerTestAndreas Stöckel
2015-02-26Moved "assert" functions to own headerAndreas Stöckel
2015-02-25start of branch, commit log will be rewrittenAndreas Stöckel
2015-02-22Adapted old Tokenizer infrastructure to new Tokens.hppAndreas Stöckel
2015-02-22Implemented TokenizedData, a facility to store data with tokens where tokens ↵Andreas Stöckel
can be dynamically enabled and the whitespace mode specified at the moment the tokens are read
2015-02-22Implemented SourceOffsetVector -- a class for storing the SourceOffset for ↵Andreas Stöckel
each character in a sequence in an fairly efficient manner
2015-02-18fixed a bug with empty fields.Benjamin Paassen
2015-02-18Implemented automatic validation of RootNode instances in ParserScopeAndreas Stöckel
2015-02-17Improved handling of and error messages in tha case of too many fields for a ↵Andreas Stöckel
command. Adapted StackTest to the new behaviour and added new unit test. Fixed bug #76
2015-02-16Fixed problem with fieldEnd closing implicit fields and added unit testAndreas Stöckel
2015-02-15Slightly adapted Handler instances to new Handler, once again passing ↵Andreas Stöckel
non-const references to data and start, using "parseGenericString" in DocumentHandler for resolving non-string values, added unit test for testing whether "end()" is not called if "start()" fails.
2015-02-15Removed legacy test fileAndreas Stöckel
2015-02-15Implemented most of the desired behaviour of the Stack class, added unit testsAndreas Stöckel
2015-02-15Renamed parser/generic to parser/stack and made filenames much shorterAndreas Stöckel
2015-02-15Moved TokenTrieTest to new directoryAndreas Stöckel
2015-02-14Moved DynamicTokenizer and TokenTrie to parser/utilsAndreas Stöckel
2015-02-06Removed childHandler, added "*" notationAndreas 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-01Improved ParserStack state descriptionAndreas 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-25Adapted tests to StandaloneEnvironment, using complete pipeline in XmlParserTestAndreas Stöckel
2015-01-25Moved StandaloneParserContext to StandaloneEnvironmentAndreas Stöckel
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
2015-01-20Refactored stuff surrounding the ResourceLocator class, implemented ↵Andreas Stöckel
StaticResourceLocator which can be used for registering static resources (mainly for testing or if certain resources need to be available from the executable)
2015-01-18Fixed bugs in definition of Project, added reference to Project to ParserContextAndreas Stöckel
2015-01-18Fixed order in which elements in StandaloneParserContext are created/freed ↵Andreas Stöckel
(to prevent Manager empty assertion to fail)
2015-01-16Allowing deferred resolution of NodesAndreas Stöckel
2015-01-16Working on XMLParser (still lot work in progress)Andreas Stöckel
2015-01-15Using Arguments class in ParserStack for validationAndreas Stöckel
2015-01-02Moved StandaloneParserContext to test folderAndreas Stöckel
2014-12-03continued work on XML parser and underlying ParserStack classAndreas Stöckel