PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre5/modes/eiffel.xml

#
XML | 119 lines | 115 code | 2 blank | 2 comment | 0 complexity | bb24e7280e77f211412baae8aad784be MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- Eiffel mode, by Slava Pestov. Based on EiffelTokenMarker by
  6     Artur Biesiadowski -->
  7<MODE>
  8	<PROPS>
  9		<PROPERTY NAME="lineComment" VALUE="--" />
 10	</PROPS>
 11	<RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
 12		<!-- whitespace: (space and tab) -->
 13		<WHITESPACE> </WHITESPACE>
 14		<WHITESPACE>	</WHITESPACE>
 15
 16		<!-- Comment -->
 17		<EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
 18
 19		<!-- Standard literals -->
 20		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 21			<BEGIN>"</BEGIN>
 22			<END>"</END>
 23		</SPAN>
 24		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 25			<BEGIN>'</BEGIN>
 26			<END>'</END>
 27		</SPAN>
 28
 29		<!-- some of these should be marked OPERATOR -->
 30		<SEQ TYPE="NULL">)</SEQ>
 31		<SEQ TYPE="NULL">(</SEQ>
 32		<SEQ TYPE="NULL">=</SEQ>
 33		<SEQ TYPE="NULL">!</SEQ>
 34		<SEQ TYPE="NULL">&gt;=</SEQ>
 35		<SEQ TYPE="NULL">&lt;=</SEQ>
 36		<SEQ TYPE="NULL">+</SEQ>
 37		<SEQ TYPE="NULL">-</SEQ>
 38		<SEQ TYPE="NULL">/</SEQ>
 39		<SEQ TYPE="NULL">*</SEQ>
 40		<SEQ TYPE="NULL">&gt;</SEQ>
 41		<SEQ TYPE="NULL">&lt;</SEQ>
 42		<SEQ TYPE="NULL">%</SEQ>
 43		<SEQ TYPE="NULL">&amp;</SEQ>
 44		<SEQ TYPE="NULL">|</SEQ>
 45		<SEQ TYPE="NULL">^</SEQ>
 46		<SEQ TYPE="NULL">~</SEQ>
 47		<SEQ TYPE="NULL">}</SEQ>
 48		<SEQ TYPE="NULL">{</SEQ>
 49		<SEQ TYPE="NULL">.</SEQ>
 50		<SEQ TYPE="NULL">,</SEQ>
 51		<SEQ TYPE="NULL">;</SEQ>
 52		<SEQ TYPE="NULL">]</SEQ>
 53		<SEQ TYPE="NULL">[</SEQ>
 54		<SEQ TYPE="NULL">?</SEQ>
 55		<SEQ TYPE="NULL">:</SEQ>
 56
 57		<KEYWORDS IGNORE_CASE="TRUE">
 58			<KEYWORD1>alias</KEYWORD1>
 59			<KEYWORD1>all</KEYWORD1>
 60			<KEYWORD1>and</KEYWORD1>
 61			<KEYWORD1>as</KEYWORD1>
 62			<KEYWORD1>check</KEYWORD1>
 63			<KEYWORD1>class</KEYWORD1>
 64			<KEYWORD1>creation</KEYWORD1>
 65			<KEYWORD1>debug</KEYWORD1>
 66			<KEYWORD1>deferred</KEYWORD1>
 67			<KEYWORD1>do</KEYWORD1>
 68			<KEYWORD1>else</KEYWORD1>
 69			<KEYWORD1>elseif</KEYWORD1>
 70			<KEYWORD1>end</KEYWORD1>
 71			<KEYWORD1>ensure</KEYWORD1>
 72			<KEYWORD1>expanded</KEYWORD1>
 73			<KEYWORD1>export</KEYWORD1>
 74			<KEYWORD1>external</KEYWORD1>
 75			<KEYWORD1>feature</KEYWORD1>
 76			<KEYWORD1>from</KEYWORD1>
 77			<KEYWORD1>frozen</KEYWORD1>
 78			<KEYWORD1>if</KEYWORD1>
 79			<KEYWORD1>implies</KEYWORD1>
 80			<KEYWORD1>indexing</KEYWORD1>
 81			<KEYWORD1>infix</KEYWORD1>
 82			<KEYWORD1>inherit</KEYWORD1>
 83			<KEYWORD1>inspect</KEYWORD1>
 84			<KEYWORD1>invariant</KEYWORD1>
 85			<KEYWORD1>is</KEYWORD1>
 86			<KEYWORD1>like</KEYWORD1>
 87			<KEYWORD1>local</KEYWORD1>
 88			<KEYWORD1>loop</KEYWORD1>
 89			<KEYWORD1>not</KEYWORD1>
 90			<KEYWORD1>obsolete</KEYWORD1>
 91			<KEYWORD1>old</KEYWORD1>
 92			<KEYWORD1>once</KEYWORD1>
 93			<KEYWORD1>or</KEYWORD1>
 94			<KEYWORD1>prefix</KEYWORD1>
 95			<KEYWORD1>redefine</KEYWORD1>
 96			<KEYWORD1>rename</KEYWORD1>
 97			<KEYWORD1>require</KEYWORD1>
 98			<KEYWORD1>rescue</KEYWORD1>
 99			<KEYWORD1>retry</KEYWORD1>
100			<KEYWORD1>select</KEYWORD1>
101			<KEYWORD1>separate</KEYWORD1>
102			<KEYWORD1>then</KEYWORD1>
103			<KEYWORD1>undefine</KEYWORD1>
104			<KEYWORD1>until</KEYWORD1>
105			<KEYWORD1>variant</KEYWORD1>
106			<KEYWORD1>when</KEYWORD1>
107			<KEYWORD1>xor</KEYWORD1>
108
109			<LITERAL2>current</LITERAL2>
110			<LITERAL2>false</LITERAL2>
111			<LITERAL2>precursor</LITERAL2>
112			<LITERAL2>result</LITERAL2>
113			<LITERAL2>strip</LITERAL2>
114			<LITERAL2>true</LITERAL2>
115			<LITERAL2>unique</LITERAL2>
116			<LITERAL2>void</LITERAL2>
117		</KEYWORDS>
118	</RULES>
119</MODE>