modes.idl.xml Maven / Gradle / Ivy
Go to download
This project aims to build a command line tool that can create
HTML view with syntax highlighted source code.
It uses Jedit syntax highlighting engine and support all languages that are supported in JEdit.
Which are currently: ActionScript, Ada 95, ANTLR, Apache HTTPD, APDL, AppleScript, ASP, Aspect-J, Assembly, AWK, B formal method, Batch, BBj, BCEL, BibTeX, C, C++, C#, CHILL, CIL, COBOL, ColdFusion, CSS, CVS Commit, D, DOxygen, DSSSL, Eiffel, EmbPerl, Erlang, Factor, Fortran, Foxpro, FreeMarker, Fortran, Gettext, Groovy, Haskell, HTML, Icon, IDL, Inform, INI, Inno Setup, Informix 4GL, Interlis, Io, Java, JavaScript, JCL, JHTML, JMK, JSP, Latex, Lilypond, Lisp, LOTOS, Lua, Makefile, Maple, ML, Modula-3, MoinMoin, MQSC, NetRexx, NQC, NSIS2, Objective C, ObjectRexx, Occam, Omnimark, Parrot, Pascal, Patch, Perl, PHP, Pike, PL-SQL, PL/I, Pop11, PostScript, Povray, PowerDynamo, Progress 4GL, Prolog, Properties, PSP, PV-WAVE, Pyrex, Python, REBOL, Redcode, Relax-NG, RelationalView, Rest, Rib, RPM spec, RTF, Ruby, Ruby-HTML, RView, S+, S#, SAS, Scheme, SDL/PL, SGML, Shell Script, SHTML, Smalltalk, SMI MIB, SQR, Squidconf, SVN Commit, Swig, TCL, TeX, Texinfo, TPL, Transact-SQL, UnrealScript, VBScript, Velocity, Verilog, VHDL, XML, XSL, ZPT
The newest version!
<?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <!-- IDL mode, by Slava Pestov based on Java mode by Mike Dillon and IDLTokenMarker by Juha Lindfors --> <MODE> <PROPS> <PROPERTY NAME="indentOpenBrackets" VALUE="{" /> <PROPERTY NAME="indentCloseBrackets" VALUE="}" /> <PROPERTY NAME="commentStart" VALUE="/*" /> <PROPERTY NAME="commentEnd" VALUE="*/" /> <PROPERTY NAME="boxComment" VALUE="*" /> <PROPERTY NAME="lineComment" VALUE="//" /> </PROPS> <RULES IGNORE_CASE="FALSE"> <EOL_SPAN TYPE="KEYWORD2" AT_WHITESPACE_END="TRUE" DELEGATE="PREPROCESSOR">#</EOL_SPAN> <IMPORT DELEGATE="LEX" /> </RULES> <RULES SET="LEX" IGNORE_CASE="FALSE"> <IMPORT DELEGATE="c::COMMENTS" /> <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <EOL_SPAN TYPE="COMMENT2">//</EOL_SPAN> <!-- some of these should be marked OPERATOR --> <!-- <SEQ TYPE="NULL">!</SEQ> <SEQ TYPE="NULL">>=</SEQ> <SEQ TYPE="NULL"><=</SEQ> <SEQ TYPE="NULL">+</SEQ> <SEQ TYPE="NULL">-</SEQ> <SEQ TYPE="NULL">/</SEQ> <SEQ TYPE="NULL">*</SEQ> <SEQ TYPE="NULL">%</SEQ> <SEQ TYPE="NULL">&</SEQ> <SEQ TYPE="NULL">|</SEQ> <SEQ TYPE="NULL">^</SEQ> <SEQ TYPE="NULL">~</SEQ> <SEQ TYPE="NULL">.</SEQ> <SEQ TYPE="NULL">,</SEQ> <SEQ TYPE="NULL">;</SEQ> <SEQ TYPE="NULL">]</SEQ> <SEQ TYPE="NULL">[</SEQ> <SEQ TYPE="NULL">?</SEQ> --> <SEQ TYPE="OPERATOR">}</SEQ> <SEQ TYPE="OPERATOR">{</SEQ> <SEQ TYPE="OPERATOR">:</SEQ> <SEQ TYPE="OPERATOR">></SEQ> <SEQ TYPE="OPERATOR"><</SEQ> <SEQ TYPE="OPERATOR">=</SEQ> <!-- Function calls --> <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS> <SEQ TYPE="OPERATOR">)</SEQ> <KEYWORDS> <KEYWORD3>any</KEYWORD3> <KEYWORD1>attribute</KEYWORD1> <KEYWORD3>boolean</KEYWORD3> <KEYWORD1>case</KEYWORD1> <KEYWORD3>char</KEYWORD3> <KEYWORD1>const</KEYWORD1> <KEYWORD1>context</KEYWORD1> <KEYWORD1>default</KEYWORD1> <KEYWORD3>double</KEYWORD3> <KEYWORD3>enum</KEYWORD3> <KEYWORD1>exception</KEYWORD1> <LITERAL2>FALSE</LITERAL2> <KEYWORD1>fixed</KEYWORD1> <KEYWORD3>float</KEYWORD3> <KEYWORD1>in</KEYWORD1> <KEYWORD1>inout</KEYWORD1> <KEYWORD1>interface</KEYWORD1> <KEYWORD3>long</KEYWORD3> <KEYWORD1>module</KEYWORD1> <KEYWORD3>Object</KEYWORD3> <KEYWORD3>octet</KEYWORD3> <KEYWORD1>oneway</KEYWORD1> <KEYWORD1>out</KEYWORD1> <KEYWORD1>raises</KEYWORD1> <KEYWORD1>readonly</KEYWORD1> <KEYWORD3>sequence</KEYWORD3> <KEYWORD3>short</KEYWORD3> <KEYWORD3>string</KEYWORD3> <KEYWORD3>struct</KEYWORD3> <KEYWORD1>switch</KEYWORD1> <LITERAL2>TRUE</LITERAL2> <KEYWORD3>typedef</KEYWORD3> <KEYWORD3>unsigned</KEYWORD3> <KEYWORD3>union</KEYWORD3> <KEYWORD3>void</KEYWORD3> <KEYWORD3>wchar</KEYWORD3> <KEYWORD3>wstring</KEYWORD3> </KEYWORDS> </RULES> <!-- Preprocessor specific rules. This is borrowed from the C mode, since the IDL spec says the preprocessor is compatible with the C++ standard. --> <RULES SET="PREPROCESSOR" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" DIGIT_RE="[0-9][0-9a-zA-Z]*"> <EOL_SPAN_REGEXP HASH_CHAR="include" TYPE="MARKUP" DELEGATE="INCLUDE">include\b</EOL_SPAN_REGEXP> <EOL_SPAN_REGEXP HASH_CHAR="define" TYPE="MARKUP" DELEGATE="DEFINE">define\b</EOL_SPAN_REGEXP> <EOL_SPAN_REGEXP HASH_CHAR="endif" TYPE="MARKUP" DELEGATE="LEX">endif\b</EOL_SPAN_REGEXP> <EOL_SPAN_REGEXP HASH_CHAR="elif" TYPE="MARKUP" DELEGATE="c::CONDITION">elif\b</EOL_SPAN_REGEXP> <EOL_SPAN_REGEXP HASH_CHAR="if" TYPE="MARKUP" DELEGATE="c::CONDITION">if\b</EOL_SPAN_REGEXP> <IMPORT DELEGATE="LEX"/> <!-- Directives --> <KEYWORDS> <MARKUP>ifdef</MARKUP> <MARKUP>ifndef</MARKUP> <MARKUP>else</MARKUP> <MARKUP>undef</MARKUP> <MARKUP>warning</MARKUP> </KEYWORDS> </RULES> <RULES SET="INCLUDE" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" DIGIT_RE="[0-9][0-9a-zA-Z]*"> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN><</BEGIN> <END>></END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <IMPORT DELEGATE="LEX"/> </RULES> <RULES SET="DEFINE" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" DIGIT_RE="[0-9][0-9a-zA-Z]*"> <SEQ TYPE="OPERATOR">#</SEQ> <IMPORT DELEGATE="LEX"/> </RULES> </MODE>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy