Commit Graph
311 Commits
Author SHA1 Message Date
Andreas Dangel 7ae424a35b Add deprecation javadocs 2020-07-17 14:43:43 +02:00
Clément Fournier 49635c2a66 Deprecate Rulechain visitors 2020-07-01 11:27:38 +02:00
Clément Fournier 659066ee02 Deprecate BaseLanguageModule constructor 2020-07-01 11:27:38 +02:00
Clément Fournier d7f96e08d9 Uniformize apply across languages 2020-07-01 11:27:38 +02:00
Andreas Dangel d45612dde0 [plsql] Deprecate overly specific base rule classes
Refs #971
2020-06-20 12:05:15 +02:00
Clément Fournier 2c563436e4 Convert plsql tests 2020-06-13 23:48:21 +02:00
Andreas Dangel a3a292d591 Remove unnecessary source-type tags in rule tests
source-type is actually only needed if
* the language supports more than one version
* the parser behaves differently with different versions
  (this has to do with compatibility, e.g. assert/enum keywords
  in java)
* the test needs a newer version than the default version
  (e.g. to test new language features)
* the test needs an older version than the default version
  (e.g. the rule has a maximumLanguageVersion specified)
* the rule behaves differently for different versions
  (e.g. BigIntegerInstantiation)
2020-05-23 14:16:13 +02:00
Andreas Dangel 7334738a97 [plsql] Cleanup rule test xml files
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel ad8662ccc4 [plsql] Add more tests 2020-04-30 18:52:21 +02:00
Andreas Dangel ef9d5fd89d [plsql] Small improvements, see #2449 2020-04-30 18:24:59 +02:00
zgrzyt93 5b8a9fabe1 Update ASTFormalParameter.java
Code style refactoring
2020-04-27 16:26:40 +02:00
zgrzyt93 944752da3f Update ASTFetchStatement.java
InternalApi annotation added.
2020-04-27 15:38:19 +02:00
zgrzyt93 08a430ed3f Update ASTSqlStatement.java
InternalApi annotation added
2020-04-27 15:32:31 +02:00
zgrzyt93 ffd573e1b5 Merge branch 'master' into additional_info 2020-04-27 15:05:22 +02:00
Grzegorz Sudolski 15b0bda348 [plsql] added some additional info in userData 2020-04-27 11:24:03 +02:00
Andreas Dangel 08d31c62a9 Merge branch 'master' into pr-2377 2020-04-16 17:52:03 +02:00
Clément Fournier 5067c79eb2 Cleanup a test 2020-04-08 21:38:10 +02:00
Clément Fournier bcf90ceb8a Externalize creator for XPath rule 2020-04-08 21:35:34 +02:00
Clément Fournier 0d65c2e6e6 Add relevant property tag 2020-03-20 18:47:40 +01:00
Clément Fournier eaceefc39e Update XPath rules to 2.0 2020-03-20 18:47:40 +01:00
Clément Fournier 941bb10d1c Internalise PLSQL token manager 2020-03-17 14:48:37 +01:00
Clément Fournier 77112d2b9f Merge branch 'master' into deprecate-plsql-ast 2020-03-17 14:48:03 +01:00
Clément Fournier e1069b4a33 Fix *ParserVisitor itf being deprecated
refs #2239
2020-03-17 14:42:29 +01:00
Andreas Dangel 3570796384 [plsql] Enhance test for XMLFOREST 2020-03-14 17:46:20 +01:00
Piotr Szymanski a355f06b90 xmlforest with optional AS 2020-03-13 12:19:25 +01:00
Andreas Dangel 76e1ff5da3 Merge branch 'pr-2336'
[core] Call SymbolFacade without classloader by default
2020-03-12 10:28:19 +01:00
Piotr Szymanski d50ccd1767 extended test case 2020-03-06 12:50:00 +01:00
Piotr Szymanski 7d9322734e fixed parsing front slash 2020-03-06 12:29:49 +01:00
Andreas Dangel 6f78d54ba8 [plsql] Fix unit tests with duplicated symbol names 2020-03-06 11:11:16 +01:00
Andreas Dangel 4468db2428 [core] Call SymbolFacade without classloader by default
This allows languages, that don't need a classloader while creating
symbol table to just override the one method.
In the test, we call always the overloaded method with class loader
with made the symbol table processing not being run for tests
in plsql.

Fixes #2325
2020-03-06 10:59:02 +01:00
Andreas Dangel 38ce869b12 Merge branch 'pr-2332'
[plsql] Fixed Execute Immediate statement parsing
2020-03-06 10:24:26 +01:00
Andreas Dangel 7bf8493307 Merge branch 'pr-2331'
[plsql] Fix in Comment statement
2020-03-06 10:19:48 +01:00
Andreas Dangel a682d36745 [plsql] Remove CursorBody and keep CursorSpecification 2020-03-06 10:18:27 +01:00
Andreas Dangel 53a94b3844 [plsql] Deprecate AST constructors and setters
Also remove useless javadoc comments and fix license header
2020-03-06 09:15:25 +01:00
Piotr Szymanski 8ae59231a2 fixed and turned on Execute Immediate 2020-03-05 17:47:45 +01:00
Piotr Szymanski 72587706b3 small fix in Comment statement, removed not needed cursorSpecification, code formatting 2020-03-05 16:50:46 +01:00
Andreas Dangel d759f8126b Merge branch 'pr-2327'
[plsql] Parsing of WHERE CURRENT OF added
2020-03-05 12:22:05 +01:00
Andreas Dangel cc19671c5d Add missing override 2020-03-05 12:14:30 +01:00
Andreas Dangel 2c68e13598 [plsql] Refactor XMLROOT and XMLFOREST
* Undo changes for XMLFOREST - <AS> is not optional alone
* Remove token for keyword "VALUE"
2020-03-05 12:04:07 +01:00
Andreas Dangel 3329374214 [plsql] Refactor ExtractExpression
* Separate helper productions for datetime/xml
* Use StringLiteral for xpath and namespace
2020-03-05 12:02:56 +01:00
Piotr Szymanski b83a4c3112 fixed test case 2020-03-05 11:22:47 +01:00
Piotr Szymanski 97043a75c5 parsing where_current_of added 2020-03-04 17:22:15 +01:00
Piotr Szymanski 69025d7522 extract(xml), xml_root, xml_forest fix 2020-03-04 15:10:24 +01:00
Clément Fournier d61ec4c737 Deprecations for #2248 2020-02-12 14:39:01 +01:00
Clément Fournier d90d5d267c Remove trailing whitespace everywhere 2020-01-24 23:40:06 +01:00
Clément Fournier c27481f815 Trim trailing spaces in XML 2020-01-24 23:08:52 +01:00
Andreas Dangel 5feca7fd93 Exclude generated AST*.java files from internalization 2020-01-24 16:19:24 +01:00
Clément Fournier 60e97d0ec8 Deprecate javacc generated code 2020-01-22 17:19:29 +01:00
Clément Fournier 27d7a6c02c Accomodate children iterable for specialization 2020-01-19 05:57:39 +01:00
Andreas Dangel 4450d826f7 Merge branch 'pr-2225'
[core] CPD: report endLine / column informations for found duplications
2020-01-17 14:59:02 +01:00