File: java-module.xml

package info (click to toggle)
kf6-syntax-highlighting 6.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,060 kB
  • sloc: xml: 203,100; cpp: 12,878; python: 3,055; sh: 965; perl: 814; ruby: 494; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; exp: 61; erlang: 54; sql: 51; java: 47; sed: 45; objc: 37; tcl: 36; awk: 31; asm: 30; fortran: 18; cs: 10
file content (51 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<language
  name="Java Module"
  version="3"
  kateversion="5.79"
  section="Sources"
  extensions="module-info.java;module-info.jav"
  priority="1"
  mimetype=""
  license="MIT"
  author="Jonathan Poelen (jonathan.poelen@gmail.com)">
<highlighting>

  <!-- https://docs.oracle.com/javase/specs/jls/se20/html/jls-7.html -->

  <list name="keywords">
    <item>exports</item>
    <item>module</item>
    <item>open</item>
    <item>opens</item>
    <item>provides</item>
    <item>requires</item>
    <item>to</item>
    <item>transitive</item>
    <item>uses</item>
    <item>with</item>
  </list>

  <contexts>
    <context attribute="Keyword" lineEndContext="#stay" name="Normal">
      <keyword attribute="Keyword" context="#stay" String="keywords"/>
      <IncludeRules context="##Java" includeAttrib="1"/>
    </context>
  </contexts>

  <itemDatas>
    <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
  </itemDatas>
</highlighting>

<general>
  <comments>
    <comment name="singleLine" start="//" position="afterwhitespace"/>
    <comment name="multiLine" start="/*" end="*/" />
  </comments>
  <keywords casesensitive="1" />
</general>

</language>
<!-- kate: indent-width 2; tab-width 2; -->