1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
package org.eclipse.fx.code.editor.ldef.langs
ceylon {
partitioning {
partition __dftl_partition_content_type
partition __ceylon_multi_line_api_comment
partition __ceylon_single_line_comment
partition __ceylon_multi_line_comment
partition __ceylon_string
rule {
single_line __ceylon_single_line_comment "//" => ''
multi_line __ceylon_multi_line_api_comment "/**" => "*/"
multi_line __ceylon_multi_line_comment "/*" => "*/"
multi_line __ceylon_string '"' => '"' escaped by "\\"
}
}
lexical_highlighting {
rule __dftl_partition_content_type whitespace javawhitespace {
default ceylon_default
ceylon_keyword {
keywords [
"abstracts", "alias", "assembly", "assert", "assign"
, "break", "case", "catch", "class", "continue"
, "dynamic", "else", "exists", "extends", "finally"
, "for", "function", "given", "if", "import"
, "in", "interface", "is", "let", "module"
, "new", "nonempty", "object", "of", "out"
, "outer", "package", "return", "satisfies", "super"
, "switch", "then", "this", "throw", "try"
, "value", "void", "while"
]
}
ceylon_annotation {
keywords [
"abstract", "actual", "annotation", "default", "deprecated"
, "doc", "by", "formal", "final", "late"
, "license", "native", "optional", "sealed", "see"
, "shared", "throws", "tagged", "variable"
]
}
}
rule __ceylon_multi_line_api_comment {
default ceylon_api_doc_default
}
rule __ceylon_single_line_comment {
default ceylon_doc_default
}
rule __ceylon_multi_line_comment {
default ceylon_doc_default
}
rule __ceylon_string {
default ceylon_string
}
}
integration {
javafx {
java "org.eclipse.fx.code.editor.ldef.langs.fx.ceylon" {
project : "org.eclipse.fx.code.editor.ldef.langs.fx"
}
}
}
}
|