scala.jsf.in (5094B)
1 # JOE syntax highlight file for JAVA 2 3 =Idle 4 =Comment green 5 =Constant cyan 6 =Escape bold cyan 7 =Type bold 8 =Keyword bold 9 =Operator bold 10 =Bad bold red 11 =Brace magenta 12 =Control 13 14 =Methods 15 16 :begin Idle 17 * begin noeat call=.scala() 18 19 .subr scala 20 21 :idle Idle 22 * idle 23 "\n" idle 24 "/" slash 25 "0" first_digit recolor=-1 26 "1-9" decimal recolor=-1 27 "." maybe_float 28 "\"" maybe_string recolor=-1 29 "'" char recolor=-1 30 "\i\p{Sc}" ident mark buffer 31 "{}" brace recolor=-1 32 ",:;=()><[]*&|!~+\-%^" control recolor=-1 33 34 :maybe_done Control 35 * idle noeat 36 "/" idle noeat return recolor=-2 37 38 :brace Brace 39 * idle noeat 40 41 :control Control 42 * idle noeat 43 44 :slash Idle 45 * idle noeat 46 "*" comment recolor=-2 47 "/" line_comment recolor=-2 48 49 :comment Comment 50 * comment 51 # might be TODO label 52 "BFHNTX" comment noeat call=comment_todo.comment_todo() 53 "*" maybe_end_comment 54 55 :maybe_end_comment Comment 56 * comment noeat 57 "/" idle 58 "*" maybe_end_comment 59 60 :line_comment Comment 61 * line_comment 62 # might be TODO label 63 "BFHNTX" line_comment noeat call=comment_todo.comment_todo() 64 "\n" idle 65 66 :first_digit Constant 67 * idle noeat 68 "lLfF" idle 69 "xX" hex 70 "." float 71 "eE" epart 72 "0-7" octal 73 "89" bad_number recolor=-1 74 75 :bad_number Bad 76 * idle noeat 77 "0-9" bad_number 78 79 :octal Constant 80 * idle noeat 81 "0-7" octal 82 "89" bad_number recolor=-1 83 "lL" idle 84 85 :hex Constant 86 * idle noeat 87 "0-9A-Fa-f" hex 88 "lL" idle 89 90 :decimal Constant 91 * idle noeat 92 "0-9" decimal 93 "lLfF" idle 94 "eE" epart 95 "." float 96 97 :maybe_float Constant 98 * idle recolor=-2 noeat 99 "\i\p{Sc}" not_ident recolor=-2 100 "0-9" float recolor=-2 101 102 :not_ident Idle 103 * idle noeat 104 "\c\p{Sc}" not_ident 105 106 :float Constant 107 * idle noeat 108 "eE" epart 109 "0-9" float 110 "fFlL" idle 111 112 :epart Constant 113 * idle noeat 114 "0-9+\-" enum 115 116 :enum Constant 117 * idle noeat 118 "0-9" enum 119 "fFlL" idle 120 121 :maybe_string Constant 122 * string noeat 123 "\"" maybe_string_1 124 125 :maybe_string_1 Constant 126 * idle noeat 127 "\"" stringstring 128 129 :string Constant 130 * string 131 "\"" idle 132 "\\" string_escape recolor=-1 133 "%" string_control recolor=-1 134 135 :string_escape Escape 136 * string 137 "u" string_uni1 138 "0-7" string_octal2 139 "\n" string recolor=-2 140 141 :string_uni1 Escape 142 * string noeat 143 "0-9a-fA-F" string_uni2 144 145 :string_uni2 Escape 146 * string noeat 147 "0-9a-fA-F" string_uni3 148 149 :string_uni3 Escape 150 * string noeat 151 "0-9a-fA-F" string_uni4 152 153 :string_uni4 Escape 154 * string noeat 155 "0-9a-fA-F" string 156 157 :string_octal2 Escape 158 * string noeat 159 "0-7" string_octal3 160 161 :string_octal3 Escape 162 * string noeat 163 "0-7" string 164 165 :string_control Escape 166 * string_control 167 "\n" idle 168 "\"" string noeat 169 "diouxXeEfFgGaAcspn%SCM" string 170 171 :stringstring Constant 172 * stringstring 173 "\"" stringstring_1 174 "\\" stringstring_escape recolor=-1 175 "%" stringstring_control recolor=-1 176 177 :stringstring_1 Constant 178 * stringstring noeat 179 "\"" stringstring_2 180 181 :stringstring_2 Constant 182 * stringstring noeat 183 "\"" idle 184 185 :stringstring_escape Escape 186 * stringstring 187 "u" stringstring_uni1 188 "0-7" stringstring_octal2 189 "\n" stringstring recolor=-2 190 191 :stringstring_uni1 Escape 192 * stringstring noeat 193 "0-9a-fA-F" stringstring_uni2 194 195 :stringstring_uni2 Escape 196 * stringstring noeat 197 "0-9a-fA-F" stringstring_uni3 198 199 :stringstring_uni3 Escape 200 * stringstring noeat 201 "0-9a-fA-F" stringstring_uni4 202 203 :stringstring_uni4 Escape 204 * stringstring noeat 205 "0-9a-fA-F" stringstring 206 207 :stringstring_octal2 Escape 208 * stringstring noeat 209 "0-7" stringstring_octal3 210 211 :stringstring_octal3 Escape 212 * stringstring noeat 213 "0-7" stringstring 214 215 :stringstring_control Escape 216 * stringstring_control 217 "\n" idle 218 "\"" stringstring noeat 219 "diouxXeEfFgGaAcspn%SCM" stringstring 220 221 :char Constant 222 * char_done 223 "'" idle 224 "\\" char_escape recolor=-1 225 226 :char_done Constant 227 * idle noeat recolor=-3 228 "\'" idle 229 230 :char_escape Escape 231 * char_done 232 "u" char_uni1 233 "0-7" char_octal2 234 235 :char_uni1 Escape 236 * char_done noeat 237 "0-9a-fA-F" char_uni2 238 239 :char_uni2 Escape 240 * char_done noeat 241 "0-9a-fA-F" char_uni3 242 243 :char_uni3 Escape 244 * char_done noeat 245 "0-9a-fA-F" char_uni4 246 247 :char_uni4 Escape 248 * char_done noeat 249 "0-9a-fA-F" char_done 250 251 :char_octal2 Escape 252 * char_done noeat 253 "0-7" char_octal3 254 255 :char_octal3 Escape 256 * char_done noeat 257 "0-7" char_done 258 259 :ident Idle 260 * ident_end noeat markend strings 261 "abstract" kw 262 "case" kw 263 "catch" kw 264 "class" kw 265 "def" kw 266 "do" kw 267 "else" kw 268 "false" lit 269 "final" kw 270 "finally" kw 271 "for" kw 272 "forSome" kw 273 "if" kw 274 "implicit" kw 275 "import" kw 276 "lazy" kw 277 "match" kw 278 "new" operator 279 "null" lit 280 "object" kw 281 "override" kw 282 "package" kw 283 "private" kw 284 "protected" kw 285 "return" kw 286 "sealed" kw 287 "super" kw 288 "this" kw 289 "throw" kw 290 "trait" kw 291 "try" kw 292 "true" lit 293 "type" kw 294 "val" kw 295 "var" kw 296 "while" kw 297 "with" kw 298 "yield" kw 299 done 300 "\c\p{Sc}" ident 301 302 :type Type 303 * idle noeat 304 305 :kw Keyword 306 * idle noeat 307 308 :bad_kw Bad 309 * idle noeat 310 311 :lit Constant 312 * idle noeat 313 314 :operator Operator 315 * idle noeat 316 317 :ident_end Idle 318 * idle noeat 319 " " ident_end 320 "(" method_end noeat recolormark 321 322 :method_end Methods 323 * idle noeat 324 325 .end