annotate runtime/syntax/testdir/dumps/java_contextual_keywords_02.dump @ 34775:e0059b2d4e2b

runtime(java): Improve the matching of contextual keywords Commit: https://github.com/vim/vim/commit/5ccdcc482e299609ae8852a75b22190e38b9b5df Author: Aliaksei Budavei <0x000c70@gmail.com> Date: Thu Apr 4 21:51:18 2024 +0200 runtime(java): Improve the matching of contextual keywords - Recognise a _record_ contextual keyword. - Recognise _non-sealed_, _sealed_, and _permits_ contextual keywords. - Admit _$_ to keyword characters. - Group _abstract_, _final_, _default_, _(non-)sealed_ (apart from _(non-)sealed_, the incompossibility of these modifiers calls for attention). - Remove another _synchronized_ keyword redefinition. I have also replaced a function with an expression. Before patch 8.1.0515, it should have been declared :function! to work with repeatable script sourcing; there is less to worry about with an expression. References: https://openjdk.org/jeps/395 (Records) https://openjdk.org/jeps/409 (Sealed Classes) https://docs.oracle.com/javase/specs/jls/se21/html/jls-3.html#jls-3.8 closes: #14403 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 04 Apr 2024 22:00:05 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34775
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 | +0&#ffffff0@3|n+0#4040ff13&|o|n|-|s|e|a|l|e|d| +0#0000000&|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|I|3| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|I|1|,| |I|2| |{| |}| @28
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 @4|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|I|4| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|I|3| |{| |}| @43
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 @75
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 @4|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|s+0#4040ff13&|e|a|l|e|d| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|C|1| |i+0#00e0003&|m|p|l|e|m|e|n|t|s| +0#0000000&|I|1|,| |I|2| |p+0#00e0003&|e|r|m|i|t|s| +0#0000000&|C|2|,| |C|3| |{| |}| @9
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 @4|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|n+0#4040ff13&|o|n|-|s|e|a|l|e|d| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|C|2| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|1| |{| |}| @27
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 @4>f+0#4040ff13&|i|n|a|l| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|C|3| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|1| |i+0#00e0003&|m|p|l|e|m|e|n|t|s| +0#0000000&|I|3| |{| |}| @27
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 @4|c+0#00e0003&|l|a|s@1| +0#0000000&|C|4| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|2| |{| |}| @47
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 @75
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 @4|r+0#00e0003&|e|c|o|r|d| +0#0000000&|R|(|)| |i+0#00e0003&|m|p|l|e|m|e|n|t|s| +0#0000000&|I|3| |{| |}| @42
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 @4|e+0#00e0003&|n|u|m| +0#0000000&|E| |i+0#00e0003&|m|p|l|e|m|e|n|t|s| +0#0000000&|I|3| |{| |I|N|S|T|A|N|C|E| |}| @37
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 @75
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 @4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|<|T|>| |I|<|T|>| |i|1|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|v+0#af5f00255&|a|r| +0#0000000&|v+0#af5f00255&|a|r|)+0#0000000&| |-|>| |v+0#af5f00255&|a|r|;+0#0000000&| |}| @21
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 @4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|<|T|>| |I|<|T|>| |i|2|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|T| |v+0#af5f00255&|a|r|)+0#0000000&| |-|>| |v+0#af5f00255&|a|r|;+0#0000000&| |}| @23
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 @4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|<|T|>| |I|<|T|>| |i|3|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|v+0#af5f00255&|a|r|)+0#0000000&| |-|>| |v+0#af5f00255&|a|r|;+0#0000000&| |}| @25
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 @4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|<|T|>| |I|<|T|>| |i|4|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|v+0#af5f00255&|a|r| +0#0000000&|-|>| |v+0#af5f00255&|a|r|;+0#0000000&| |}| @27
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 @4|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|I|<|T|>| |{| |T| |i|(|T| |i|)|;| |d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|I|<|T|>| |s|e|l|f|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|t+0#00e0003&|h|i|s|;+0#0000000&| |}| |}| @5
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 |}| @73
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 |~+0#4040ff13&| @73
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 |~| @73
e0059b2d4e2b runtime(java): Improve the matching of contextual keywords
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 | +0#0000000&@56|3|7|,|2|-|5| @7|B|o|t|