stable

Clone or download

Read-only

request #9784: Clean up Tuleap Query language grammar

This is part of story #8858: query tracker with expressions Expert query mode does not throw a notice anymore when trying to use a not yet implemented feature Not used or too permissive elements has also been removed from the grammar. This has a nice side effect to simplify the generated parser (186KB -> 47KB). Change-Id: Idbc2b7c325c88cff7805185c213e337573546db6

Modified Files

Name
M plugins/tracker/grammar/tql.pegjs +4 −34 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/Comparison.php +16 −7 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/QueryBuilder.php +2 −2 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/ParserTest.php +2 −8 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/QueryBuilderTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/ValidatorTest.php +4 −4 Go to diff View file