-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Groovy and Gradle keywords, improve
/
handling on typing.
- Loading branch information
Showing
9 changed files
with
48 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
// 4.0 https://www.groovy-lang.org/ | ||
// 5.0 https://www.groovy-lang.org/ | ||
// https://www.groovy-lang.org/documentation.html | ||
|
||
//! keywords | ||
// https://www.groovy-lang.org/syntax.html#_keywords | ||
as assert | ||
// https://github.com/apache/groovy/tree/master/src/antlr | ||
abstract assert | ||
break | ||
case catch class const continue | ||
def default do | ||
else enum extends | ||
false finally for | ||
false final finally for | ||
goto | ||
if implements import in instanceof interface | ||
new null | ||
package | ||
if implements import instanceof interface | ||
native new null non-sealed | ||
package public protected private | ||
return | ||
super switch | ||
this throw throws trait true try | ||
var | ||
super strictfp switch synchronized | ||
this threadsafe throw throws true transient try | ||
while | ||
|
||
// Contextual Keywords | ||
as in permits record sealed trait var yield | ||
|
||
// Other reserved words | ||
|
||
// https://www.groovy-lang.org/closures.html | ||
it | ||
it owner delegate | ||
|
||
// https://www.groovy-lang.org/dsls.html | ||
println | ||
|
||
// https://github.com/apache/groovy/blob/master/src/antlr/GroovyLexer.g4 | ||
as def in trait threadsafe | ||
|
||
// others, from Java.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters