~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/SyntaxModes/TypescriptSyntaxMode.xml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
Import upstream version 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
 
 
3
TypescriptSyntaxMode.xml
 
4
 
 
5
Author:
 
6
      Mike Krüger <mkrueger@xamarin.com>
 
7
 
 
8
Copyright (c) 2013 Xamarin Inc. (http://xamarin.com)
 
9
 
 
10
Permission is hereby granted, free of charge, to any person obtaining a copy
 
11
of this software and associated documentation files (the "Software"), to deal
 
12
in the Software without restriction, including without limitation the rights
 
13
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
14
copies of the Software, and to permit persons to whom the Software is
 
15
furnished to do so, subject to the following conditions:
 
16
 
 
17
The above copyright notice and this permission notice shall be included in
 
18
all copies or substantial portions of the Software.
 
19
 
 
20
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
21
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
22
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 
23
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
24
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 
25
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 
26
THE SOFTWARE.
 
27
-->
 
28
 
 
29
<SyntaxMode name = "Typescript" mimeTypes="application/typescript;text/typescript">
 
30
        
 
31
        <EolSpan color = "Script Comment" rule="Comment">//</EolSpan>
 
32
        
 
33
        <Span color = "Script Comment" rule="Comment">
 
34
                <Begin>/*</Begin>
 
35
                <End>*/</End>
 
36
        </Span>
 
37
        
 
38
        <Span color = "Script String" stopateol = "true" escape='\'>
 
39
                <Begin>"</Begin>
 
40
                <End>"</End>
 
41
        </Span>
 
42
 
 
43
        <Span color = "Script String" stopateol = "true" escape='\'>
 
44
                <Begin>&apos;</Begin>
 
45
                <End>&apos;</End>
 
46
        </Span>
 
47
        
 
48
        <Match color = "Script Number">CSharpNumber</Match>
 
49
        
 
50
        <Keywords color = "Script Keyword">
 
51
                <Word>any</Word>
 
52
                <Word>bool</Word>
 
53
                <Word>break</Word>
 
54
                <Word>case</Word>
 
55
                <Word>catch</Word>
 
56
                <Word>class</Word>
 
57
                <Word>constructor</Word>
 
58
                <Word>continue</Word>
 
59
                <Word>declare</Word>
 
60
                <Word>default</Word>
 
61
                <Word>delete</Word>
 
62
                <Word>do</Word>
 
63
                <Word>else</Word>
 
64
                <Word>enum</Word>
 
65
                <Word>export</Word>
 
66
                <Word>extends</Word>
 
67
                <Word>extern</Word>
 
68
                <Word>false</Word>
 
69
                <Word>finally</Word>
 
70
                <Word>for</Word>
 
71
                <Word>function</Word>
 
72
                <Word>goto</Word>
 
73
                <Word>if</Word>
 
74
                <Word>implements</Word>
 
75
                <Word>import</Word>
 
76
                <Word>in</Word>
 
77
                <Word>instanceof</Word>
 
78
                <Word>interface</Word>
 
79
                <Word>module</Word>
 
80
                <Word>new</Word>
 
81
                <Word>null</Word>
 
82
                <Word>number</Word>
 
83
                <Word>private</Word>
 
84
                <Word>public</Word>
 
85
                <Word>return</Word>
 
86
                <Word>static</Word>
 
87
                <Word>string</Word>
 
88
                <Word>super</Word>
 
89
                <Word>switch</Word>
 
90
                <Word>this</Word>
 
91
                <Word>throw</Word>
 
92
                <Word>true</Word> 
 
93
                <Word>try</Word>
 
94
                <Word>typeof</Word>
 
95
                <Word>var</Word>
 
96
                <Word>void</Word>
 
97
                <Word>while</Word>
 
98
        </Keywords>
 
99
        
 
100
        <Rule name = "Comment">
 
101
                <Keywords color="Comment Tag" ignorecase="True">
 
102
                        <Word>TODO</Word>
 
103
                        <Word>FIXME</Word>
 
104
                        <Word>HACK</Word>
 
105
                        <Word>UNDONE</Word>
 
106
                </Keywords>
 
107
        </Rule>
 
108
</SyntaxMode>
 
 
b'\\ No newline at end of file'