PageRenderTime 65ms CodeModel.GetById 56ms app.highlight 4ms RepoModel.GetById 3ms app.codeStats 1ms

/jEdit/tags/jedit-4-2-pre14/modes/aspect-j.xml

#
XML | 167 lines | 164 code | 2 blank | 1 comment | 0 complexity | 2ec2c87b76be3ac722e77bc64dbc187c MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<MODE>
  6        <PROPS>
  7                <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  8                <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
  9                <PROPERTY NAME="indentPrevLine"
 10                        VALUE="\s*(((if|while)\s*\(|else\s*|else\s+if\s*\(|for\s*\(.*\))[^{;]*)" />
 11                <!-- set this to 'true' if you want to use GNU coding style -->
 12                <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
 13                <PROPERTY NAME="commentStart" VALUE="/*" />
 14                <PROPERTY NAME="commentEnd" VALUE="*/" />
 15                <PROPERTY NAME="lineComment" VALUE="//" />
 16                <PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
 17        </PROPS>
 18        <RULES ESCAPE="\"
 19                IGNORE_CASE="FALSE"
 20                HIGHLIGHT_DIGITS="TRUE"
 21                DIGIT_RE="(0x)?[[:xdigit:]]+[lLdDfF]?">
 22
 23                <!-- Silly comment -->
 24                <SEQ TYPE="COMMENT1">/**/</SEQ>
 25
 26                <!-- Javadoc comment -->
 27                <SPAN TYPE="COMMENT3" DELEGATE="java::JAVADOC">
 28                        <BEGIN>/**</BEGIN>
 29                        <END>*/</END>
 30                </SPAN>
 31
 32                <!-- Java comment (C style) -->
 33                <SPAN TYPE="COMMENT1">
 34                        <BEGIN>/*</BEGIN>
 35                        <END>*/</END>
 36                </SPAN>
 37
 38                <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 39                        <BEGIN>"</BEGIN>
 40                        <END>"</END>
 41                </SPAN>
 42                <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 43                        <BEGIN>'</BEGIN>
 44                        <END>'</END>
 45                </SPAN>
 46
 47                <EOL_SPAN TYPE="COMMENT2">//</EOL_SPAN>
 48
 49                <SEQ TYPE="OPERATOR">=</SEQ>
 50                <SEQ TYPE="OPERATOR">!</SEQ>
 51                <SEQ TYPE="OPERATOR">&gt;=</SEQ>
 52                <SEQ TYPE="OPERATOR">&lt;=</SEQ>
 53                <SEQ TYPE="OPERATOR">+</SEQ>
 54                <SEQ TYPE="OPERATOR">-</SEQ>
 55                <SEQ TYPE="OPERATOR">/</SEQ>
 56
 57                <!-- workaround to stop "*" from being colorized
 58                     in import statements. -->
 59                <SEQ TYPE="NULL">.*</SEQ>
 60
 61                <SEQ TYPE="OPERATOR">*</SEQ>
 62                <SEQ TYPE="OPERATOR">&gt;</SEQ>
 63                <SEQ TYPE="OPERATOR">&lt;</SEQ>
 64                <SEQ TYPE="OPERATOR">%</SEQ>
 65                <SEQ TYPE="OPERATOR">&amp;</SEQ>
 66                <SEQ TYPE="OPERATOR">|</SEQ>
 67                <SEQ TYPE="OPERATOR">^</SEQ>
 68                <SEQ TYPE="OPERATOR">~</SEQ>
 69                <SEQ TYPE="OPERATOR">}</SEQ>
 70                <SEQ TYPE="OPERATOR">{</SEQ>
 71                <MARK_PREVIOUS TYPE="LABEL" EXCLUDE_MATCH="TRUE"
 72                        AT_WHITESPACE_END="TRUE">:</MARK_PREVIOUS>
 73
 74                <!-- Function calls -->
 75                <MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="TRUE">(</MARK_PREVIOUS>
 76
 77                <KEYWORDS>
 78                        <KEYWORD1>abstract</KEYWORD1>
 79						<KEYWORD1>break</KEYWORD1>
 80						<KEYWORD1>case</KEYWORD1>
 81						<KEYWORD1>catch</KEYWORD1>
 82						<KEYWORD1>continue</KEYWORD1>
 83						<KEYWORD1>default</KEYWORD1>
 84						<KEYWORD1>do</KEYWORD1>
 85						<KEYWORD1>else</KEYWORD1>
 86						<KEYWORD1>extends</KEYWORD1>
 87						<KEYWORD1>final</KEYWORD1>
 88						<KEYWORD1>finally</KEYWORD1>
 89						<KEYWORD1>for</KEYWORD1>
 90						<KEYWORD1>if</KEYWORD1>
 91						<KEYWORD1>implements</KEYWORD1>
 92						<KEYWORD1>instanceof</KEYWORD1>
 93						<KEYWORD1>native</KEYWORD1>
 94						<KEYWORD1>new</KEYWORD1>
 95						<KEYWORD1>private</KEYWORD1>
 96						<KEYWORD1>protected</KEYWORD1>
 97						<KEYWORD1>public</KEYWORD1>
 98						<KEYWORD1>return</KEYWORD1>
 99						<KEYWORD1>static</KEYWORD1>
100						<KEYWORD1>switch</KEYWORD1>
101						<KEYWORD1>synchronized</KEYWORD1>
102						<KEYWORD1>throw</KEYWORD1>
103						<KEYWORD1>throws</KEYWORD1>
104						<KEYWORD1>transient</KEYWORD1>
105						<KEYWORD1>try</KEYWORD1>
106						<KEYWORD1>volatile</KEYWORD1>
107						<KEYWORD1>while</KEYWORD1>
108						
109						<KEYWORD2>package</KEYWORD2>
110						<KEYWORD2>import</KEYWORD2>
111						
112						<KEYWORD3>boolean</KEYWORD3>
113						<KEYWORD3>byte</KEYWORD3>
114						<KEYWORD3>char</KEYWORD3>
115						<KEYWORD3>class</KEYWORD3>
116						<KEYWORD3>double</KEYWORD3>
117						<KEYWORD3>float</KEYWORD3>
118						<KEYWORD3>int</KEYWORD3>
119						<KEYWORD3>interface</KEYWORD3>
120						<KEYWORD3>long</KEYWORD3>
121						<KEYWORD3>short</KEYWORD3>
122						<KEYWORD3>void</KEYWORD3>
123						
124						<FUNCTION>assert</FUNCTION>
125						<KEYWORD1>strictfp</KEYWORD1>
126						
127						<LITERAL2>false</LITERAL2>
128						<LITERAL2>null</LITERAL2>
129						<LITERAL2>super</LITERAL2>
130						<LITERAL2>this</LITERAL2>
131						<LITERAL2>true</LITERAL2>
132						
133						<INVALID>goto</INVALID>
134						<INVALID>const</INVALID>
135
136                        <KEYWORD4>args</KEYWORD4>
137                        <KEYWORD4>percflow</KEYWORD4>
138                        <KEYWORD4>get</KEYWORD4>
139                        <KEYWORD4>set</KEYWORD4>
140                        <KEYWORD4>preinitialization</KEYWORD4>
141                        <KEYWORD4>handler</KEYWORD4>
142                        <KEYWORD4>adviceexecution</KEYWORD4>
143                        <KEYWORD4>cflow</KEYWORD4>
144                        <KEYWORD4>target</KEYWORD4>
145                        <KEYWORD4>cflowbelow</KEYWORD4>
146                        <KEYWORD4>withincode</KEYWORD4>
147                        <KEYWORD4>declare</KEYWORD4>
148                        <KEYWORD4>precedence</KEYWORD4>
149                        <KEYWORD4>issingleton</KEYWORD4>
150                        <KEYWORD4>perthis</KEYWORD4>
151                        <KEYWORD4>pertarget</KEYWORD4>
152                        <KEYWORD4>privileged</KEYWORD4>
153                        <KEYWORD4>after</KEYWORD4>
154                        <KEYWORD4>around</KEYWORD4>
155                        <KEYWORD4>aspect</KEYWORD4>
156                        <KEYWORD4>before</KEYWORD4>
157                        <KEYWORD4>call</KEYWORD4>
158                        <KEYWORD4>execution</KEYWORD4>
159                        <KEYWORD4>initialization</KEYWORD4>
160                        <KEYWORD4>pointcut</KEYWORD4>
161                        <KEYWORD4>proceed</KEYWORD4>
162                        <KEYWORD4>staticinitialization</KEYWORD4>
163                        <KEYWORD4>within</KEYWORD4>
164                        <KEYWORD4>..</KEYWORD4>
165                </KEYWORDS>
166        </RULES>
167</MODE>