1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE language SYSTEM "language.dtd"> |
---|
3 | <language name="Javadoc" version="1.04" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> |
---|
4 | <highlighting> |
---|
5 | <contexts> |
---|
6 | <context name="Start" attribute="Normal Text" lineEndContext="#stay"> |
---|
7 | <IncludeRules context="FindJavadoc" /> |
---|
8 | </context> |
---|
9 | <context name="FindJavadoc" attribute="Normal Text" lineEndContext="#stay"> |
---|
10 | <StringDetect attribute="JavadocFS" context="#stay" String="/**/"/> |
---|
11 | <StringDetect attribute="JavadocFS" context="JavadocFSar" String="/**" beginRegion="Javadoc"/> |
---|
12 | </context> |
---|
13 | <context attribute="JavadocFS" lineEndContext="#stay" name="JavadocFSar"> |
---|
14 | <Detect2Chars attribute="JavadocFS" context="#pop" char="*" char1="/" endRegion="Javadoc"/> |
---|
15 | <RegExpr attribute="JavadocFS" context="Javadocar" String="(!|\?)" /> |
---|
16 | <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s*$)" /> |
---|
17 | <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s)(?![\da-z])" /> |
---|
18 | <RegExpr attribute="JavadocFS" context="Javadocar" String="\**\s*(?=@(author|deprecated|exception|param|return|returns|see|serial|serialData|serialField|since|throws|version)(\s|$))" firstNonSpace="true"/> |
---|
19 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " /> |
---|
20 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code	" /> |
---|
21 | <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" /> |
---|
22 | <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" /> |
---|
23 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " /> |
---|
24 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link	" /> |
---|
25 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " /> |
---|
26 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain	" /> |
---|
27 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " /> |
---|
28 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal	" /> |
---|
29 | <StringDetect attribute="InlineTag" context="#stay" String="{@value}" /> |
---|
30 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " /> |
---|
31 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value	" /> |
---|
32 | <IncludeRules context="##HTML"/> |
---|
33 | </context> |
---|
34 | <context attribute="Javadoc" lineEndContext="#stay" name="Javadocar"> |
---|
35 | <Detect2Chars attribute="JavadocFS" context="#pop#pop" char="*" char1="/" endRegion="Javadoc"/> |
---|
36 | <RegExpr attribute="JavadocFS" context="#stay" String="\*+(?!/)" firstNonSpace="true"/> |
---|
37 | <StringDetect attribute="BlockTag" context="#stay" String="@author " /> |
---|
38 | <StringDetect attribute="BlockTag" context="#stay" String="@deprecated " /> |
---|
39 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception " /> |
---|
40 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@param " /> |
---|
41 | <StringDetect attribute="BlockTag" context="#stay" String="@return " /> |
---|
42 | <StringDetect attribute="BlockTag" context="#stay" String="@returns " /> |
---|
43 | <StringDetect attribute="BlockTag" context="SeeTag" String="@see "/> |
---|
44 | <StringDetect attribute="BlockTag" context="#stay" String="@serial " /> |
---|
45 | <StringDetect attribute="BlockTag" context="#stay" String="@serialData " /> |
---|
46 | <StringDetect attribute="BlockTag" context="#stay" String="@serialField " /> |
---|
47 | <StringDetect attribute="BlockTag" context="#stay" String="@since " /> |
---|
48 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws " /> |
---|
49 | <StringDetect attribute="BlockTag" context="#stay" String="@version " /> |
---|
50 | <StringDetect attribute="BlockTag" context="#stay" String="@author	" /> |
---|
51 | <StringDetect attribute="BlockTag" context="#stay" String="@deprecated	" /> |
---|
52 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception	" /> |
---|
53 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@param	" /> |
---|
54 | <StringDetect attribute="BlockTag" context="#stay" String="@return	" /> |
---|
55 | <StringDetect attribute="BlockTag" context="#stay" String="@returns	" /> |
---|
56 | <StringDetect attribute="BlockTag" context="SeeTag" String="@see	" /> |
---|
57 | <StringDetect attribute="BlockTag" context="#stay" String="@serial	" /> |
---|
58 | <StringDetect attribute="BlockTag" context="#stay" String="@serialData	" /> |
---|
59 | <StringDetect attribute="BlockTag" context="#stay" String="@serialField	" /> |
---|
60 | <StringDetect attribute="BlockTag" context="#stay" String="@since	" /> |
---|
61 | <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws	" /> |
---|
62 | <StringDetect attribute="BlockTag" context="#stay" String="@version	" /> |
---|
63 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " /> |
---|
64 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code	" /> |
---|
65 | <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" /> |
---|
66 | <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" /> |
---|
67 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " /> |
---|
68 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link	" /> |
---|
69 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " /> |
---|
70 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain	" /> |
---|
71 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " /> |
---|
72 | <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal	" /> |
---|
73 | <StringDetect attribute="InlineTag" context="#stay" String="{@value}" /> |
---|
74 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " /> |
---|
75 | <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value	" /> |
---|
76 | <IncludeRules context="##HTML"/> |
---|
77 | </context> |
---|
78 | <context attribute="Javadoc" lineEndContext="#pop" name="JavadocParam"> |
---|
79 | <DetectSpaces /> |
---|
80 | <RegExpr attribute="JavadocParam" context="#pop#pop" String="\S*(?=\*/)" /> |
---|
81 | <RegExpr attribute="JavadocParam" context="#pop" String="\S*(\s|$)" /> |
---|
82 | </context> |
---|
83 | <context attribute="InlineTag" lineEndContext="#pop" name="InlineTagar"> |
---|
84 | <DetectChar attribute="InlineTag" context="#pop" char="}" /> |
---|
85 | <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> |
---|
86 | <IncludeRules context="##HTML"/> |
---|
87 | </context> |
---|
88 | <context attribute="InlineTag" lineEndContext="#pop" name="LiteralTagar"> |
---|
89 | <DetectChar attribute="InlineTag" context="#pop" char="}" /> |
---|
90 | <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> |
---|
91 | </context> |
---|
92 | <context attribute="SeeTag" lineEndContext="#pop" name="SeeTag"> |
---|
93 | <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> |
---|
94 | <IncludeRules context="##HTML"/> |
---|
95 | </context> |
---|
96 | </contexts> |
---|
97 | <itemDatas> |
---|
98 | <itemData name="Normal Text" defStyleNum="dsNormal"/> |
---|
99 | <itemData name="BlockTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="1" italic="0"/> |
---|
100 | <itemData name="InlineTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="0" italic="0"/> |
---|
101 | <itemData name="JavadocParam" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/> |
---|
102 | <itemData name="SeeTag" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/> |
---|
103 | <itemData name="JavadocFS" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF" bold="1" italic="0"/> |
---|
104 | <itemData name="Javadoc" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/> |
---|
105 | </itemDatas> |
---|
106 | </highlighting> |
---|
107 | <general> |
---|
108 | <keywords casesensitive="1"/> |
---|
109 | </general> |
---|
110 | </language> |
---|