PageRenderTime 36ms CodeModel.GetById 33ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/jEdit/tags/jedit-4-1-pre5/modes/idl.xml

#
XML | 105 lines | 101 code | 2 blank | 2 comment | 0 complexity | 09e3c80a5196e698fd35d8434aa65aba MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- IDL mode, by Slava Pestov
  6     based on Java mode by Mike Dillon and IDLTokenMarker by Juha Lindfors -->
  7<MODE>
  8	<PROPS>
  9		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
 10		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
 11		<PROPERTY NAME="commentStart" VALUE="/*" />
 12		<PROPERTY NAME="commentEnd" VALUE="*/" />
 13		<PROPERTY NAME="boxComment" VALUE="*" />
 14		<PROPERTY NAME="lineComment" VALUE="//" />
 15	</PROPS>
 16	<RULES ESCAPE="\" IGNORE_CASE="FALSE">
 17		<!-- C style comment -->
 18		<SPAN TYPE="COMMENT1">
 19			<BEGIN>/*</BEGIN>
 20			<END>*/</END>
 21		</SPAN>
 22
 23		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 24			<BEGIN>"</BEGIN>
 25			<END>"</END>
 26		</SPAN>
 27		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 28			<BEGIN>'</BEGIN>
 29			<END>'</END>
 30		</SPAN>
 31
 32		<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
 33
 34		<!-- some of these should be marked OPERATOR -->
 35		<!-- <SEQ TYPE="NULL">)</SEQ>
 36		<SEQ TYPE="NULL">=</SEQ>
 37		<SEQ TYPE="NULL">!</SEQ>
 38		<SEQ TYPE="NULL">&gt;=</SEQ>
 39		<SEQ TYPE="NULL">&lt;=</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">&gt;</SEQ>
 45		<SEQ TYPE="NULL">&lt;</SEQ>
 46		<SEQ TYPE="NULL">%</SEQ>
 47		<SEQ TYPE="NULL">&amp;</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		<SEQ TYPE="NULL">?</SEQ> -->
 57
 58		<SEQ TYPE="OPERATOR">}</SEQ>
 59		<SEQ TYPE="OPERATOR">{</SEQ>
 60		<SEQ TYPE="OPERATOR">:</SEQ>
 61
 62		<!-- Function calls -->
 63		<MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="TRUE">(</MARK_PREVIOUS>
 64
 65		<KEYWORDS>
 66			<KEYWORD3>any</KEYWORD3>
 67			<KEYWORD1>attribute</KEYWORD1>
 68			<KEYWORD3>boolean</KEYWORD3>
 69			<KEYWORD1>case</KEYWORD1>
 70			<KEYWORD3>char</KEYWORD3>
 71			<KEYWORD1>const</KEYWORD1>
 72			<KEYWORD1>context</KEYWORD1>
 73			<KEYWORD1>default</KEYWORD1>
 74			<KEYWORD3>double</KEYWORD3>
 75			<KEYWORD3>enum</KEYWORD3>
 76			<KEYWORD1>exception</KEYWORD1>
 77			<LITERAL2>FALSE</LITERAL2>
 78			<KEYWORD1>fixed</KEYWORD1>
 79			<KEYWORD3>float</KEYWORD3>
 80			<KEYWORD1>in</KEYWORD1>
 81			<KEYWORD1>inout</KEYWORD1>
 82			<KEYWORD1>interface</KEYWORD1>
 83			<KEYWORD3>long</KEYWORD3>
 84			<KEYWORD1>module</KEYWORD1>
 85			<KEYWORD3>Object</KEYWORD3>
 86			<KEYWORD3>octet</KEYWORD3>
 87			<KEYWORD1>oneway</KEYWORD1>
 88			<KEYWORD1>out</KEYWORD1>
 89			<KEYWORD1>raises</KEYWORD1>
 90			<KEYWORD1>readonly</KEYWORD1>
 91			<KEYWORD3>sequence</KEYWORD3>
 92			<KEYWORD3>short</KEYWORD3>
 93			<KEYWORD3>string</KEYWORD3>
 94			<KEYWORD3>struct</KEYWORD3>
 95			<KEYWORD1>switch</KEYWORD1>
 96			<LITERAL2>TRUE</LITERAL2>
 97			<KEYWORD3>typedef</KEYWORD3>
 98			<KEYWORD3>unsigned</KEYWORD3>
 99			<KEYWORD3>union</KEYWORD3>
100			<KEYWORD3>void</KEYWORD3>
101			<KEYWORD3>wchar</KEYWORD3>
102			<KEYWORD3>wstring</KEYWORD3>
103		</KEYWORDS>
104	</RULES>
105</MODE>