summaryrefslogtreecommitdiff
path: root/test/core
AgeCommit message (Collapse)Author
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-25Replace NodeVector by ManagedVector where NodeVector functionality is not ↵Andreas Stöckel
needed. Reduces calls to "Manager.registerEvent" to <10% of original value
2016-04-25Fix gcc 4.9 warningsAndreas Stöckel
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-25Use "emph" instead of "emphasized" for the demo html output, adapt unit ↵Andreas Stöckel
tests accordingly
2016-04-25Identifiers may not end with an underscoreAndreas Stöckel
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
2016-04-25Check syntax descriptor depthAndreas Stöckel
2015-03-04Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-03-04massively reworked demo html output.Benjamin Paassen
2015-03-04Renamed "start" and "end" token to "open" and "close" tokenAndreas Stöckel
2015-03-03Added unit tests for annotation handlingAndreas Stöckel
2015-03-03prevented cycles in DocumentEntity::searchStartAnchorBenjamin Paassen
2015-03-03added a method to find the matching start anchor for some end anchor.Andreas Stöckel
2015-03-03Do not allow structs to be transparent and root at the same timeAndreas Stöckel
2015-03-03Removed last remains of "domain" in codeAndreas Stöckel
2015-03-03Storing type and name in the HandlerData once again, using a TokenAndreas Stöckel
Conflicts: application/src/core/parser/stack/Callbacks.hpp
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-02added another domain test case for invalid syntax tokens.Benjamin Paassen
2015-03-02integrated syntax tokens in Domain.Benjamin Paassen
2015-03-02added check for witespace characters in Utils::isUserDefinedTokenBenjamin Paassen
2015-03-02Unregistering all registered tokens when TokenRegistry is destroyedAndreas Stöckel
2015-03-02Wrote isUserDefinedToken function which checks whether a token is a valid ↵Andreas Stöckel
user defined token and added unit tests
2015-03-01Renamed domain to ontology.Benjamin Paassen
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-22Added test for collapse and trim methods in UtilsAndreas Stöckel
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-22corrected XML serialization for primitive text content regarding whitespace ↵Benjamin Paassen
and newline handling and extended XMLTest to check that.
2015-02-18changed cardinality toString conversion to be reparseable as cardinality.Benjamin Paassen
2015-02-18fixed a bug with empty fields.Benjamin Paassen
2015-02-18Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-02-18detected and counteracted cycles in gatherFieldDescriptors and ↵Benjamin Paassen
gatherSubclasses. Also added unit tests for those cyclic cases.
2015-02-18Implemented automatic validation of RootNode instances in ParserScopeAndreas Stöckel
2015-02-17Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-02-17fixed wrong handling of empty attributes in TestAdvanced.Benjamin Paassen