summaryrefslogtreecommitdiff
path: root/tests/snippets/java
Commit message (Collapse)AuthorAgeFilesLines
* More tests moved to snippets/ (#2351)Jean Abou-Samra2023-02-232-0/+110
|
* java multiline highlighting based on issue 1858 (#2132)VishalN72022-05-102-0/+231
| | | Co-authored-by: Chung Tai <chungtai456@gmail.com>
* Whitespace token for jvm lexerSebastian Engel2022-01-064-47/+47
|
* Java: fix lexing of 'record' soft keyword (#2018)amitkummer2022-01-031-1/+53
| | | | | | | | | | | | | | | | * Java: fix lexing of 'record' soft keyword Refactor the Java lexer to treat `record` as a soft keyword. Previously, the lexer assumed record is a reserved word, even though it is a soft keyword which can be used as a variable name. This refactor lexes record as a keyword only if it appears at the beggining of the line, with some potential other keywords like public and private preceding it. * Remove repetition in capture group * Update test output
* Add new Java syntax: sealed classes and record types. (#1902)Benjamin Peterson2021-09-291-0/+15
|
* Java: do not lex whitespace as Label, do not lex "default" as LabelGeorg Brandl2021-07-312-1/+38
| | | | Fixes #1851
* Rename "tests/lexers" to "tests/snippets" and update the contributionGeorg Brandl2021-01-202-0/+55
docs to point to both snippets and examplefiles.