-
Notifications
You must be signed in to change notification settings - Fork 0
/
unv.xml
105 lines (103 loc) · 3.89 KB
/
unv.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
Copyright (c) 2012 by Adam Treat ([email protected])
-->
<language
name="UNV"
section="Sources"
version="0.01"
kateversion="2.4"
indenter="cstyle"
extensions="*.unv"
author="Adam Treat ([email protected])"
license="MIT"
>
<highlighting>
<list name="keywords">
<item> else </item>
<item> false </item>
<item> function </item>
<item> if </item>
<item> import </item>
<item> namespace </item>
<item> new </item>
<item> return </item>
<item> true </item>
<item> type </item>
<item> using </item>
</list>
<list name="types">
<item> _builtin_void_ </item>
<item> _builtin_bit_ </item>
<item> _builtin_uint8_ </item>
<item> _builtin_int8_ </item>
<item> _builtin_uint16_ </item>
<item> _builtin_int16_ </item>
<item> _builtin_uint32_ </item>
<item> _builtin_int32_ </item>
<item> _builtin_uint64_ </item>
<item> _builtin_int64_ </item>
<item> _builtin_float_ </item>
<item> _builtin_double_ </item>
<item> _builtin_uint8_array_ </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<keyword attribute="Keyword" context="#stay" String="keywords" />
<RegExpr attribute="Data Type" String="\b[A-Z][a-zA-Z0-9]*" />
<keyword attribute="Data Type" context="#stay" String="types" />
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="""/>
<StringDetect attribute="Include" context="Include" String="include" insensitive="false" />
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay" />
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context attribute="Include" lineEndContext="#pop" name="Include">
<RangeDetect attribute="Include" context="#pop" char=""" char1="""/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<DetectSpaces />
<DetectIdentifier />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<DetectSpaces />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<DetectIdentifier />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Include" defStyleNum="dsOthers" bold="true"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- kate: indent-width 2; tab-width 2; -->