diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2021-05-20 16:44:21 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2021-06-01 10:12:55 +0100 |
commit | c37678a3eb62685d32a1581729e2a4e26002bffc (patch) | |
tree | 1901f7e3517ae339f99905f7ffc0021553874842 /spotbugs/src/main/resources/spotbugs-exclude.xml | |
parent | 9de3b68373dd8554e64f34bb3093403521f8759f (diff) |
Introducing Antlr4 for cpsPath parsing
-created new module for cpPathParser
-added antlr rule for cpsPathWithSingleLeafCondition
-added antlr rule for cpsPathWithDescendant (and with leaf conditions)
-added antlr rule for ancestor axis
-added unit test (copied from existing CpsPathQuerySpec)
-udpated cps-ri to use new cpPathQuery from parser module
-'imported' lexer rules from publix xPath grammar
-Re-used existing CpsPathException but conversion happens in cps-ri to prevent additional dependency in cps-path-parser module
Issue-ID: CPS-376
Change-Id: I2c5df98969402cbf69f6573c52705879450ce606
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'spotbugs/src/main/resources/spotbugs-exclude.xml')
-rw-r--r-- | spotbugs/src/main/resources/spotbugs-exclude.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spotbugs/src/main/resources/spotbugs-exclude.xml b/spotbugs/src/main/resources/spotbugs-exclude.xml index c46270c1cd..7fdda7364e 100644 --- a/spotbugs/src/main/resources/spotbugs-exclude.xml +++ b/spotbugs/src/main/resources/spotbugs-exclude.xml @@ -1,5 +1,9 @@ <FindBugsFilter> <Match> + <!-- Ignore generated code from Antlr4 --> + <Package name="org.onap.cps.cpspath.parser.antlr4" /> + </Match> + <Match> <Or> <!-- Anonymous inner classes are very common. --> <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" /> |