PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre14/modes/eiffel.xml

#
XML | 115 lines | 111 code | 2 blank | 2 comment | 0 complexity | 1b6a521c23ed3779509f618a6959e4bc 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		<!-- Comment -->
 13		<EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
 14
 15		<!-- Standard literals -->
 16		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 17			<BEGIN>"</BEGIN>
 18			<END>"</END>
 19		</SPAN>
 20		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 21			<BEGIN>'</BEGIN>
 22			<END>'</END>
 23		</SPAN>
 24
 25		<!-- some of these should be marked OPERATOR -->
 26		<!-- <SEQ TYPE="NULL">)</SEQ>
 27		<SEQ TYPE="NULL">(</SEQ>
 28		<SEQ TYPE="NULL">=</SEQ>
 29		<SEQ TYPE="NULL">!</SEQ>
 30		<SEQ TYPE="NULL">&gt;=</SEQ>
 31		<SEQ TYPE="NULL">&lt;=</SEQ>
 32		<SEQ TYPE="NULL">+</SEQ>
 33		<SEQ TYPE="NULL">-</SEQ>
 34		<SEQ TYPE="NULL">/</SEQ>
 35		<SEQ TYPE="NULL">*</SEQ>
 36		<SEQ TYPE="NULL">&gt;</SEQ>
 37		<SEQ TYPE="NULL">&lt;</SEQ>
 38		<SEQ TYPE="NULL">%</SEQ>
 39		<SEQ TYPE="NULL">&amp;</SEQ>
 40		<SEQ TYPE="NULL">|</SEQ>
 41		<SEQ TYPE="NULL">^</SEQ>
 42		<SEQ TYPE="NULL">~</SEQ>
 43		<SEQ TYPE="NULL">}</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
 53		<KEYWORDS>
 54			<KEYWORD1>alias</KEYWORD1>
 55			<KEYWORD1>all</KEYWORD1>
 56			<KEYWORD1>and</KEYWORD1>
 57			<KEYWORD1>as</KEYWORD1>
 58			<KEYWORD1>check</KEYWORD1>
 59			<KEYWORD1>class</KEYWORD1>
 60			<KEYWORD1>creation</KEYWORD1>
 61			<KEYWORD1>debug</KEYWORD1>
 62			<KEYWORD1>deferred</KEYWORD1>
 63			<KEYWORD1>do</KEYWORD1>
 64			<KEYWORD1>else</KEYWORD1>
 65			<KEYWORD1>elseif</KEYWORD1>
 66			<KEYWORD1>end</KEYWORD1>
 67			<KEYWORD1>ensure</KEYWORD1>
 68			<KEYWORD1>expanded</KEYWORD1>
 69			<KEYWORD1>export</KEYWORD1>
 70			<KEYWORD1>external</KEYWORD1>
 71			<KEYWORD1>feature</KEYWORD1>
 72			<KEYWORD1>from</KEYWORD1>
 73			<KEYWORD1>frozen</KEYWORD1>
 74			<KEYWORD1>if</KEYWORD1>
 75			<KEYWORD1>implies</KEYWORD1>
 76			<KEYWORD1>indexing</KEYWORD1>
 77			<KEYWORD1>infix</KEYWORD1>
 78			<KEYWORD1>inherit</KEYWORD1>
 79			<KEYWORD1>inspect</KEYWORD1>
 80			<KEYWORD1>invariant</KEYWORD1>
 81			<KEYWORD1>is</KEYWORD1>
 82			<KEYWORD1>like</KEYWORD1>
 83			<KEYWORD1>local</KEYWORD1>
 84			<KEYWORD1>loop</KEYWORD1>
 85			<KEYWORD1>not</KEYWORD1>
 86			<KEYWORD1>obsolete</KEYWORD1>
 87			<KEYWORD1>old</KEYWORD1>
 88			<KEYWORD1>once</KEYWORD1>
 89			<KEYWORD1>or</KEYWORD1>
 90			<KEYWORD1>prefix</KEYWORD1>
 91			<KEYWORD1>redefine</KEYWORD1>
 92			<KEYWORD1>rename</KEYWORD1>
 93			<KEYWORD1>require</KEYWORD1>
 94			<KEYWORD1>rescue</KEYWORD1>
 95			<KEYWORD1>retry</KEYWORD1>
 96			<KEYWORD1>select</KEYWORD1>
 97			<KEYWORD1>separate</KEYWORD1>
 98			<KEYWORD1>then</KEYWORD1>
 99			<KEYWORD1>undefine</KEYWORD1>
100			<KEYWORD1>until</KEYWORD1>
101			<KEYWORD1>variant</KEYWORD1>
102			<KEYWORD1>when</KEYWORD1>
103			<KEYWORD1>xor</KEYWORD1>
104
105			<LITERAL2>current</LITERAL2>
106			<LITERAL2>false</LITERAL2>
107			<LITERAL2>precursor</LITERAL2>
108			<LITERAL2>result</LITERAL2>
109			<LITERAL2>strip</LITERAL2>
110			<LITERAL2>true</LITERAL2>
111			<LITERAL2>unique</LITERAL2>
112			<LITERAL2>void</LITERAL2>
113		</KEYWORDS>
114	</RULES>
115</MODE>