Skip to content

Commit

Permalink
Update keyword test
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Jul 26, 2022
1 parent f568b39 commit 5cbaaba
Showing 1 changed file with 64 additions and 16 deletions.
80 changes: 64 additions & 16 deletions tests/languages/scala/keyword_feature.test
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,71 @@ var while with yield
[
["keyword", "<-"], ["keyword", "=>"],

["keyword", "abstract"], ["keyword", "case"], ["keyword", "catch"],
["keyword", "class"], ["keyword", "def"], ["keyword", "derives"], ["keyword", "do"],
["keyword", "else"], ["keyword", "enum"], ["keyword", "extends"], ["keyword", "extension"],
["keyword", "final"], ["keyword", "finally"],
["keyword", "for"], ["keyword", "forSome"], ["keyword", "given"], ["keyword", "if"],
["keyword", "implicit"], ["keyword", "import"], ["punctuation", ";"],
["keyword", "infix"], ["keyword", "inline"], ["keyword", "lazy"],
["keyword", "match"], ["keyword", "new"], ["keyword", "null"], ["keyword", "object"],
["keyword", "opaque"], ["keyword", "open"],
["keyword", "override"], ["keyword", "package"], ["keyword", "private"],
["keyword", "protected"], ["keyword", "return"], ["keyword", "sealed"],
["keyword", "self"], ["keyword", "super"], ["keyword", "this"], ["keyword", "throw"],
["keyword", "trait"], ["keyword", "transparent"], ["keyword", "try"],
["keyword", "type"], ["keyword", "using"], ["keyword", "val"],
["keyword", "var"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"]
["keyword", "abstract"],
["keyword", "case"],
["keyword", "catch"],

["keyword", "class"],
["keyword", "def"],
["keyword", "derives"],
["keyword", "do"],

["keyword", "else"],
["keyword", "enum"],
["keyword", "extends"],
["keyword", "extension"],

["keyword", "final"],
["keyword", "finally"],

["keyword", "for"],
["keyword", "forSome"],
["keyword", "given"],
["keyword", "if"],

["keyword", "implicit"],
["keyword", "import"],
["punctuation", ";"],

["keyword", "infix"],
["keyword", "inline"],
["keyword", "lazy"],

["keyword", "match"],
["keyword", "new"],
["keyword", "null"],
["keyword", "object"],

["keyword", "opaque"],
["keyword", "open"],

["namespace", ["override"]],
["keyword", "package"],
["keyword", "private"],

["keyword", "protected"],
["keyword", "return"],
["keyword", "sealed"],

["keyword", "self"],
["keyword", "super"],
["keyword", "this"],
["keyword", "throw"],

["keyword", "trait"],
["keyword", "transparent"],
["keyword", "try"],

["keyword", "type"],
["keyword", "using"],
["keyword", "val"],

["keyword", "var"],
["keyword", "while"],
["keyword", "with"],
["keyword", "yield"]
]

----------------------------------------------------

Checks for keywords.
Checks for keywords.

0 comments on commit 5cbaaba

Please sign in to comment.