Update reference files

This commit is contained in:
Clément Fournier
2024-04-08 21:05:52 +02:00
parent 1c23df7286
commit 0cb2e37ce9
3 changed files with 403 additions and 403 deletions

View File

@ -55,8 +55,8 @@ public class PLSQLCpdLexer extends JavaccCpdLexer {
// string literals and the like are case-sensitive.
// Note: tokens are normalized to uppercase make CPD case-insensitive.
// We use uppercase and not lowercase because that way, PLSQL keywords
// will not be changed (they are already uppercase, see PLSQLParser),
// therefore creating less strings in memory.
// will be returned unchanged (they are already uppercase, see PLSQLParser),
// therefore creating fewer strings in memory.
image = image.toUpperCase(Locale.ROOT);
}
return image;

View File

@ -2,7 +2,7 @@
L1
[DECLARE] 1 8
L2
[qty_on_hand] 2 13
[QTY_ON_HAND] 2 13
[NUMBER] 14 20
[(] 20 21
[5] 21 22
@ -12,47 +12,47 @@ L3
[BEGIN] 1 6
L4
[SELECT] 2 8
[quantity] 9 17
[QUANTITY] 9 17
[INTO] 18 22
[qty_on_hand] 23 34
[QTY_ON_HAND] 23 34
[FROM] 35 39
[inventory] 40 49
[INVENTORY] 40 49
L5
[WHERE] 3 8
[product] 9 16
[PRODUCT] 9 16
[=] 17 18
['TENNIS RACKET'] 19 34
L6
[FOR] 3 6
[UPDATE] 7 13
[OF] 14 16
[quantity] 17 25
[QUANTITY] 17 25
[;] 25 26
L7
[IF] 2 4
[qty_on_hand] 5 16
[QTY_ON_HAND] 5 16
[>] 17 18
[0] 19 20
[THEN] 21 25
L8
[UPDATE] 3 9
[inventory] 10 19
[INVENTORY] 10 19
[SET] 20 23
[quantity] 24 32
[QUANTITY] 24 32
[=] 33 34
[quantity] 35 43
[QUANTITY] 35 43
[-] 44 45
[1] 46 47
L9
[WHERE] 4 9
[product] 10 17
[PRODUCT] 10 17
[=] 18 19
['TENNIS RACKET'] 20 35
[;] 35 36
L10
[INSERT] 3 9
[INTO] 10 14
[purchase_record] 15 30
[PURCHASE_RECORD] 15 30
L11
[VALUES] 4 10
[(] 11 12
@ -66,7 +66,7 @@ L12
L13
[INSERT] 3 9
[INTO] 10 14
[purchase_record] 15 30
[PURCHASE_RECORD] 15 30
L14
[VALUES] 4 10
[(] 11 12