~ubuntu-branches/ubuntu/utopic/monodevelop/utopic

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/obj/Debug/Mono.TextEditor.SyntaxModes.ValaSyntaxMode.xml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-10-10 14:50:04 UTC
  • mfrom: (10.3.4)
  • Revision ID: package-import@ubuntu.com-20131010145004-80l130sny21b17sb
Tags: 4.0.12+dfsg-1
* [5dcb6e1] Fix debian/watch for new source tarball name format
* [5c68cb5] Refresh list of files removed by get-orig-source to 
  reflect 4.0.12
* [96d60a0] Imported Upstream version 4.0.12+dfsg
* [b989752] Refresh debian/patches/no_appmenu to ensure it applies
* [2a4c351] Ensure every assembly in external/ is cleaned properly
* [92762f7] Add more excluded Mac-specific modulerefs
* [bc698ba] Add symlinks to NUnit assemblies (Closes: #714246)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- ValaSyntaxMode.xml
 
2
 
 
3
 Author:
 
4
   Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
 
5
 
 
6
 Copyright (c) 2008 Levi Bard
 
7
 Based on CSharpSyntaxMode by Mike Krüger <mkrueger@novell.com>
 
8
 
 
9
 Permission is hereby granted, free of charge, to any person obtaining a copy
 
10
 of this software and associated documentation files (the "Software"), to deal
 
11
 in the Software without restriction, including without limitation the rights
 
12
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
13
 copies of the Software, and to permit persons to whom the Software is
 
14
 furnished to do so, subject to the following conditions:
 
15
 
 
16
 The above copyright notice and this permission notice shall be included in
 
17
 all copies or substantial portions of the Software.
 
18
 
 
19
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
20
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
21
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 
22
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
23
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 
24
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 
25
 THE SOFTWARE. -->
 
26
 
 
27
<SyntaxMode name = "Vala" mimeTypes="text/x-vala">
 
28
        <Property name="LineComment">//</Property>
 
29
        <Property name="BlockCommentStart">/*</Property>
 
30
        <Property name="BlockCommentEnd">*/</Property>
 
31
        <Property name="StringQuote">"</Property>
 
32
        <Property name="StringQuote">'</Property>
 
33
        
 
34
        <EolSpan color = "Comment(Line)" rule="DoxDocumentation" tagColor="Comment(DocTag)">///</EolSpan>
 
35
        <EolSpan color = "Comment(Line)" rule="Comment">//</EolSpan>
 
36
        
 
37
        <Span color = "Comment(Line)" rule="DoxDocumentation" tagColor="Comment(DocTag)" >
 
38
                <Begin>/**</Begin>
 
39
                <End>*/</End>
 
40
        </Span>
 
41
        <Span color = "Comment(Block)" rule="Comment">
 
42
                <Begin>/*</Begin>
 
43
                <End>*/</End>
 
44
        </Span>
 
45
 
 
46
        <Span color = "String" rule="String" stopateol = "true" escape='\'>
 
47
                <Begin>"</Begin>
 
48
                <End>"</End>
 
49
        </Span>
 
50
 
 
51
        <Span color = "String" rule="String" stopateol = "true" escape='\'>
 
52
                <Begin>&apos;</Begin>
 
53
                <End>&apos;</End>
 
54
        </Span>
 
55
        
 
56
        <Match color = "String">CSharpNumber</Match>
 
57
        
 
58
        <Keywords color = "Keyword(Access)">
 
59
                <Word>this</Word>
 
60
                <Word>base</Word>
 
61
        </Keywords>
 
62
        
 
63
        <Keywords color = "Keyword(Operator)">
 
64
                <Word>as</Word>
 
65
                <Word>new</Word>
 
66
        </Keywords>
 
67
        
 
68
        <Keywords color = "Keyword(Selection)">
 
69
                <Word>else</Word>
 
70
                <Word>if</Word>
 
71
                <Word>switch</Word>
 
72
                <Word>case</Word>
 
73
                <Word>default</Word>
 
74
        </Keywords>
 
75
        
 
76
        <Keywords color = "Keyword(Iteration)">
 
77
                <Word>do</Word>
 
78
                <Word>for</Word>
 
79
                <Word>foreach</Word>
 
80
                <Word>in</Word>
 
81
                <Word>while</Word>
 
82
        </Keywords>
 
83
        
 
84
        <Keywords color = "Keyword(Jump)">
 
85
                <Word>break</Word>
 
86
                <Word>continue</Word>
 
87
                <Word>goto</Word>
 
88
                <Word>return</Word>
 
89
        </Keywords>
 
90
        
 
91
        <Keywords color = "Keyword(Exception)">
 
92
                <Word>try</Word>
 
93
                <Word>throw</Word>
 
94
                <Word>catch</Word>
 
95
                <Word>finally</Word>
 
96
        </Keywords>
 
97
        
 
98
        <Keywords color = "Keyword(Constants)">
 
99
                <Word>true</Word>
 
100
                <Word>false</Word>
 
101
                <Word>null</Word>
 
102
        </Keywords>
 
103
        
 
104
        <Keywords color = "Keyword(Modifiers)">
 
105
                <Word>abstract</Word>
 
106
                <Word>const</Word>
 
107
                <Word>extern</Word>
 
108
                <Word>override</Word>
 
109
                <Word>static</Word>
 
110
                <Word>virtual</Word>
 
111
                <Word>weak</Word>
 
112
                
 
113
                <Word>public</Word>
 
114
                <Word>protected</Word>
 
115
                <Word>private</Word>
 
116
                <Word>construct</Word>
 
117
        </Keywords>
 
118
        
 
119
        <Keywords color = "Keyword(Type)">
 
120
                <Word>bool</Word>
 
121
                <Word>char</Word>
 
122
                <Word>double</Word>
 
123
                <Word>enum</Word>
 
124
                <Word>float</Word>
 
125
                <Word>int</Word>
 
126
                <Word>long</Word>
 
127
                <Word>short</Word>
 
128
                <Word>uint</Word>
 
129
                <Word>ushort</Word>
 
130
                <Word>ulong</Word>
 
131
                <Word>uchar</Word>
 
132
                <Word>string</Word>
 
133
        </Keywords>
 
134
        
 
135
        <Keywords color = "Keyword(Void)">
 
136
                <Word>void</Word>
 
137
        </Keywords>
 
138
        
 
139
        <Keywords color = "Keyword(Namespace)">
 
140
                <Word>namespace</Word>
 
141
                <Word>using</Word>
 
142
        </Keywords>
 
143
        
 
144
        <Keywords color = "Keyword(Property)">          
 
145
                <Word>get</Word>
 
146
                <Word>set</Word>
 
147
                <Word>value</Word>
 
148
        </Keywords>
 
149
        
 
150
        <Keywords color = "Keyword(Declaration)">
 
151
                <Word>class</Word>
 
152
                <Word>interface</Word>
 
153
                <Word>delegate</Word>
 
154
                <Word>signal</Word>
 
155
                <Word>struct</Word>
 
156
        </Keywords>
 
157
        
 
158
        <Keywords color = "Keyword(Parameter)">
 
159
                <Word>ref</Word>
 
160
                <Word>out</Word>
 
161
        </Keywords>
 
162
        
 
163
        
 
164
        <Rule name = "Comment">
 
165
                <Keywords color="Comment Tag" ignorecase="True">
 
166
                        <Word>TODO</Word>
 
167
                        <Word>FIXME</Word>
 
168
                        <Word>HACK</Word>
 
169
                        <Word>UNDONE</Word>
 
170
                </Keywords>     
 
171
        </Rule>
 
172
        
 
173
        <Rule name = "String">
 
174
        </Rule>
 
175
        
 
176
        <Rule name = "DoxDocumentation">
 
177
                <Span color = "String" stopateol = "true" escape="\">
 
178
                        <Begin>"</Begin>
 
179
                        <End>"</End>
 
180
                </Span>
 
181
                <Keywords color="Comment(DocTag)">
 
182
                        <Word>c</Word>
 
183
                        <Word>code</Word>
 
184
                        <Word>example</Word>
 
185
                        <Word>exception</Word>
 
186
                        <Word>list</Word>
 
187
                        <Word>para</Word>
 
188
                        <Word>param</Word>
 
189
                        <Word>paramref</Word>
 
190
                        <Word>permission</Word>
 
191
                        <Word>remarks</Word>
 
192
                        <Word>return</Word>
 
193
                        <Word>see</Word>
 
194
                        <Word>seealso</Word>
 
195
                        <Word>summary</Word>
 
196
                        <Word>value</Word>
 
197
                        <Word>type</Word>
 
198
                        <Word>name</Word>
 
199
                        <Word>cref</Word>
 
200
                        <Word>item</Word>
 
201
                        <Word>term</Word>
 
202
                        <Word>description</Word>
 
203
                        <Word>listheader</Word>
 
204
                </Keywords>
 
205
        </Rule>
 
206
</SyntaxMode>