summaryrefslogtreecommitdiffstats
path: root/kate/data/javadoc.xml
blob: c16cba3428b846097d8bb6c2e9b3ae7b91c0ff2c (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Javadoc" version="2" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
	<highlighting>
		<contexts>
			<context name="Start" attribute="Normal Text" lineEndContext="#stay">
				<IncludeRules context="FindJavadoc" />
			</context>
			<context name="FindJavadoc" attribute="Normal Text" lineEndContext="#stay">
				<StringDetect attribute="JavadocFS" context="#stay" String="/**/"/>
				<StringDetect attribute="JavadocFS" context="JavadocFSar" String="/**" beginRegion="Javadoc"/>
			</context>
			<context attribute="JavadocFS" lineEndContext="#stay" name="JavadocFSar">
				<Detect2Chars attribute="JavadocFS" context="#pop" char="*" char1="/" endRegion="Javadoc"/>
				<RegExpr attribute="JavadocFS" context="Javadocar" String="(!|\?)" />
				<RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s*$)" />
				<RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s)(?![\da-z])" />
				<RegExpr attribute="JavadocFS" context="Javadocar" String="\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))" firstNonSpace="true"/>
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code&#009;" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@link&#009;" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain&#009;" />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal&#009;" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@value}" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@value&#009;" />
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#stay" name="Javadocar">
				<Detect2Chars attribute="JavadocFS" context="#pop#pop" char="*" char1="/" endRegion="Javadoc"/>
				<RegExpr attribute="JavadocFS" context="#stay" String="\*+(?!/)" firstNonSpace="true"/>
				<StringDetect attribute="BlockTag" context="#stay" String="@author " />
				<StringDetect attribute="BlockTag" context="#stay" String="@deprecated " />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@exception " />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@param " />
				<StringDetect attribute="BlockTag" context="#stay" String="@return " />
				<StringDetect attribute="BlockTag" context="SeeTag" String="@see "/>
				<StringDetect attribute="BlockTag" context="#stay" String="@serial " />
				<StringDetect attribute="BlockTag" context="#stay" String="@serialData " />
				<StringDetect attribute="BlockTag" context="#stay" String="@serialField " />
				<StringDetect attribute="BlockTag" context="#stay" String="@since " />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@throws " />
				<StringDetect attribute="BlockTag" context="#stay" String="@version " />
				<StringDetect attribute="BlockTag" context="#stay" String="@author&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@deprecated&#009;" />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@exception&#009;" />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@param&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@return&#009;" />
				<StringDetect attribute="BlockTag" context="SeeTag" String="@see&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@serial&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@serialData&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@serialField&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@since&#009;" />
				<StringDetect attribute="BlockTag" context="JavadocParam" String="@throws&#009;" />
				<StringDetect attribute="BlockTag" context="#stay" String="@version&#009;" />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code&#009;" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@link&#009;" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain&#009;" />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " />
				<StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal&#009;" />
				<StringDetect attribute="InlineTag" context="#stay" String="{@value}" />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " />
				<StringDetect attribute="InlineTag" context="InlineTagar" String="{@value&#009;" />
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#pop" name="JavadocParam">
				<DetectSpaces />
				<RegExpr attribute="JavadocParam" context="#pop#pop" String="\S*(?=\*/)" />
				<RegExpr attribute="JavadocParam" context="#pop" String="\S*(\s|$)" />
			</context>
			<context attribute="InlineTag" name="InlineTagar" lineEndContext="#stay">
				<DetectChar attribute="InlineTag" context="#pop" char="}" />
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="InlineTag" name="LiteralTagar" lineEndContext="#stay">
				<DetectChar attribute="InlineTag" context="#pop" char="}" />
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
			</context>
			<context attribute="SeeTag" lineEndContext="#pop" name="SeeTag">
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
				<IncludeRules context="##HTML"/>
			</context>
		</contexts>
		<itemDatas>
			<itemData name="Normal Text"  defStyleNum="dsNormal"/>
			<itemData name="BlockTag"     defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="1" italic="0"/>
			<itemData name="InlineTag"    defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="0" italic="0"/>
			<itemData name="JavadocParam" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/>
			<itemData name="SeeTag"       defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/>
			<itemData name="JavadocFS"    defStyleNum="dsComment" color="#008000" selColor="#FFFFFF" bold="1" italic="0"/>
			<itemData name="Javadoc"      defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/>
		</itemDatas>
	</highlighting>
	<general>
		<keywords casesensitive="1"/>
	</general>
</language>