2017-03-03 23 views

回答

2

它在互聯網檔案:

https://web.archive.org/web/20150508150805/http://docs.codehaus.org/download/attachments/2747/groovy.syn

我會在這裏發佈,以及 - 雖然在寫作的時候,它的3歲,而且可能需要更新;-)

; (c) July 2004, Guillaume Laforge 
; Groovy, a scripting language for the JVM, is hosted at Codehaus 
; This file is a Groovy Syntax for TextPad, 
; inspired from the Java Syntax file provided with TextPad 

C=1 

[Syntax] 
Namespace1 = 6 
IgnoreCase = No 
InitKeyWordChars = A-Za-z_ 
KeyWordChars = A-Za-z0-9_ 
BracketChars = {[()]} 
OperatorChars = -+*/<>!~%^&|=. 
PreprocStart = 
SyntaxStart = 
SyntaxEnd = 
HexPrefix = 0x 
CommentStart = /* 
CommentEnd = */ 
CommentStartAlt = """ 
CommentEndAlt = """ 
SingleComment = // 
SingleCommentCol = 
SingleCommentAlt = 
SingleCommentColAlt = 
SingleCommentEsc = 
StringsSpanLines = Yes 
StringStart = " 
StringEnd = " 
StringAlt = 
StringEsc = \ 
CharStart = ' 
CharEnd = ' 
CharEsc = \ 

[Keywords 1] 
; Keywords and common classes 
as 
assert 
Boolean 
Byte 
Character 
Class 
Double 
Float 
Integer 
Long 
Number 
Object 
Short 
String 
property 
void 
abstract 
assert 
boolean 
break 
byte 
case 
catch 
char 
class 
const 
continue 
default 
do 
double 
else 
extends 
false 
final 
finally 
float 
for 
goto 
if 
implements 
import 
instanceof 
in 
int 
interface 
long 
native 
new 
null 
package 
private 
protected 
public 
return 
short 
static 
strictfp 
super 
switch 
synchronized 
this 
throw 
throws 
transient 
true 
try 
void 
volatile 
while 

[Keywords 2] 
abs 
accept 
allProperties 
and 
any 
append 
asImmutable 
asSynchronized 
asWritable 
center 
collect 
compareTo 
contains 
count 
decodeBase64 
div 
dump 
each 
eachByte 
eachFile 
eachFileRecurse 
eachLine 
eachMatch 
eachProperty 
eachPropertyName 
eachWithIndex 
encodeBase64 
every 
execute 
filterLine 
find 
findAll 
findIndexOf 
flatten 
getErr 
getIn 
getOut 
getText 
inject 
inspect 
intersect 
intdiv 
invokeMethod 
isCase 
join 
leftShift 
max 
min 
minus 
mod 
multiply 
negate 
newInputStream 
newOutputStream 
newPrintWriter 
newReader 
newWriter 
next 
or 
padLeft 
padRight 
plus 
pop 
previous 
print 
println 
readBytes 
readLine 
readLines 
reverse 
reverseEach 
rightShift 
rightShiftUnsigned 
round 
size 
sort 
splitEachLine 
step 
subMap 
times 
toDouble 
toFloat 
toInteger 
tokenize 
toList 
toLong 
toURL 
transformChar 
transformLine 
upto 
use 
waitForOrKill 
withInputStream 
withOutputStream 
withPrintWriter 
withReader 
withStream 
withStreams 
withWriter 
withWriterAppend 
write 
writeLine 
+0

非常感謝!該舊版本足以在Textpad中進行快速編輯。無論如何,在開發時,我更喜歡IDE。 – ami

相關問題