PageRenderTime 276ms CodeModel.GetById 269ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/modes/idl.xml

#
XML | 108 lines | 104 code | 2 blank | 2 comment | 0 complexity | facdbc8e8c983a0ae0ea2b227338c68e 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="\">
 17		<!-- whitespace: (space and tab) -->
 18		<WHITESPACE> </WHITESPACE>
 19		<WHITESPACE>	</WHITESPACE>
 20
 21		<!-- C style comment -->
 22		<SPAN TYPE="COMMENT1">
 23			<BEGIN>/*</BEGIN>
 24			<END>*/</END>
 25		</SPAN>
 26
 27		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 28			<BEGIN>"</BEGIN>
 29			<END>"</END>
 30		</SPAN>
 31		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 32			<BEGIN>'</BEGIN>
 33			<END>'</END>
 34		</SPAN>
 35
 36		<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
 37
 38		<!-- some of these should be marked OPERATOR -->
 39		<SEQ TYPE="NULL">)</SEQ>
 40		<SEQ TYPE="NULL">=</SEQ>
 41		<SEQ TYPE="NULL">!</SEQ>
 42		<SEQ TYPE="NULL">&gt;=</SEQ>
 43		<SEQ TYPE="NULL">&lt;=</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">&gt;</SEQ>
 49		<SEQ TYPE="NULL">&lt;</SEQ>
 50		<SEQ TYPE="NULL">%</SEQ>
 51		<SEQ TYPE="NULL">&amp;</SEQ>
 52		<SEQ TYPE="NULL">|</SEQ>
 53		<SEQ TYPE="NULL">^</SEQ>
 54		<SEQ TYPE="NULL">~</SEQ>
 55		<SEQ TYPE="OPERATOR">}</SEQ>
 56		<SEQ TYPE="OPERATOR">{</SEQ>
 57		<SEQ TYPE="NULL">.</SEQ>
 58		<SEQ TYPE="NULL">,</SEQ>
 59		<SEQ TYPE="NULL">;</SEQ>
 60		<SEQ TYPE="NULL">]</SEQ>
 61		<SEQ TYPE="NULL">[</SEQ>
 62		<SEQ TYPE="NULL">?</SEQ>
 63		<SEQ TYPE="OPERATOR">:</SEQ>
 64
 65		<!-- Function calls -->
 66		<MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="TRUE">(</MARK_PREVIOUS>
 67
 68		<KEYWORDS IGNORE_CASE="FALSE">
 69			<KEYWORD3>any</KEYWORD3>
 70			<KEYWORD1>attribute</KEYWORD1>
 71			<KEYWORD3>boolean</KEYWORD3>
 72			<KEYWORD1>case</KEYWORD1>
 73			<KEYWORD3>char</KEYWORD3>
 74			<KEYWORD1>const</KEYWORD1>
 75			<KEYWORD1>context</KEYWORD1>
 76			<KEYWORD1>default</KEYWORD1>
 77			<KEYWORD3>double</KEYWORD3>
 78			<KEYWORD3>enum</KEYWORD3>
 79			<KEYWORD1>exception</KEYWORD1>
 80			<LITERAL2>FALSE</LITERAL2>
 81			<KEYWORD1>fixed</KEYWORD1>
 82			<KEYWORD3>float</KEYWORD3>
 83			<KEYWORD1>in</KEYWORD1>
 84			<KEYWORD1>inout</KEYWORD1>
 85			<KEYWORD1>interface</KEYWORD1>
 86			<KEYWORD3>long</KEYWORD3>
 87			<KEYWORD1>module</KEYWORD1>
 88			<KEYWORD3>Object</KEYWORD3>
 89			<KEYWORD3>octet</KEYWORD3>
 90			<KEYWORD1>oneway</KEYWORD1>
 91			<KEYWORD1>out</KEYWORD1>
 92			<KEYWORD1>raises</KEYWORD1>
 93			<KEYWORD1>readonly</KEYWORD1>
 94			<KEYWORD3>sequence</KEYWORD3>
 95			<KEYWORD3>short</KEYWORD3>
 96			<KEYWORD3>string</KEYWORD3>
 97			<KEYWORD3>struct</KEYWORD3>
 98			<KEYWORD1>switch</KEYWORD1>
 99			<LITERAL2>TRUE</LITERAL2>
100			<KEYWORD3>typedef</KEYWORD3>
101			<KEYWORD3>unsigned</KEYWORD3>
102			<KEYWORD3>union</KEYWORD3>
103			<KEYWORD3>void</KEYWORD3>
104			<KEYWORD3>wchar</KEYWORD3>
105			<KEYWORD3>wstring</KEYWORD3>
106		</KEYWORDS>
107	</RULES>
108</MODE>