PageRenderTime 80ms CodeModel.GetById 74ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre4/modes/awk.xml

#
XML | 116 lines | 113 code | 2 blank | 1 comment | 0 complexity | 57f9ec6ec0d72a3a2260a36d60bd089e MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- AWK mode, by Matthias M. Schneider -->
  6<MODE>
  7	<PROPS>
  8		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  9		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
 10		<PROPERTY NAME="lineUpClosingBracket" VALUE="true" />
 11		<PROPERTY NAME="lineComment" VALUE="#" />
 12		<PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
 13	</PROPS>
 14	<RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
 15		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 16			<BEGIN>"</BEGIN>
 17			<END>"</END>
 18		</SPAN>
 19		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 20			<BEGIN>'</BEGIN>
 21			<END>'</END>
 22		</SPAN>
 23
 24		<EOL_SPAN TYPE="COMMENT1">#</EOL_SPAN>
 25		<SEQ TYPE="OPERATOR">=</SEQ>
 26		<SEQ TYPE="OPERATOR">!</SEQ>
 27		<SEQ TYPE="OPERATOR">&gt;=</SEQ>
 28		<SEQ TYPE="OPERATOR">&lt;=</SEQ>
 29		<SEQ TYPE="OPERATOR">+</SEQ>
 30		<SEQ TYPE="OPERATOR">-</SEQ>
 31		<SEQ TYPE="OPERATOR">/</SEQ>
 32		<SEQ TYPE="OPERATOR">*</SEQ>
 33		<SEQ TYPE="OPERATOR">&gt;</SEQ>
 34		<SEQ TYPE="OPERATOR">&lt;</SEQ>
 35		<SEQ TYPE="OPERATOR">%</SEQ>
 36		<SEQ TYPE="OPERATOR">&amp;</SEQ>
 37		<SEQ TYPE="OPERATOR">|</SEQ>
 38		<SEQ TYPE="OPERATOR">^</SEQ>
 39		<SEQ TYPE="OPERATOR">~</SEQ>
 40		<SEQ TYPE="OPERATOR">}</SEQ>
 41		<SEQ TYPE="OPERATOR">{</SEQ>
 42		<MARK_PREVIOUS AT_WHITESPACE_END="TRUE"
 43			EXCLUDE_MATCH="TRUE"
 44			TYPE="LABEL">:</MARK_PREVIOUS>
 45
 46		<KEYWORDS>
 47			<KEYWORD1>break</KEYWORD1>
 48			<KEYWORD1>close</KEYWORD1>
 49			<KEYWORD1>continue</KEYWORD1>
 50			<KEYWORD1>delete</KEYWORD1>
 51			<KEYWORD1>do</KEYWORD1>
 52			<KEYWORD1>else</KEYWORD1>
 53			<KEYWORD1>exit</KEYWORD1>
 54			<KEYWORD1>fflush</KEYWORD1>
 55			<KEYWORD1>for</KEYWORD1>
 56			<KEYWORD1>huge</KEYWORD1>
 57			<KEYWORD1>if</KEYWORD1>
 58			<KEYWORD1>in</KEYWORD1>
 59			<KEYWORD1>function</KEYWORD1>
 60			<KEYWORD1>next</KEYWORD1>
 61			<KEYWORD1>nextfile</KEYWORD1>
 62			<KEYWORD1>print</KEYWORD1>
 63			<KEYWORD1>printf</KEYWORD1>
 64			<KEYWORD1>return</KEYWORD1>
 65			<KEYWORD1>while</KEYWORD1>
 66
 67			<KEYWORD2>atan2</KEYWORD2>
 68			<KEYWORD2>cos</KEYWORD2>
 69			<KEYWORD2>exp</KEYWORD2>
 70			<KEYWORD2>gensub</KEYWORD2>
 71			<KEYWORD2>getline</KEYWORD2>
 72			<KEYWORD2>gsub</KEYWORD2>
 73			<KEYWORD2>index</KEYWORD2>
 74			<KEYWORD2>int</KEYWORD2>
 75			<KEYWORD2>length</KEYWORD2>
 76			<KEYWORD2>log</KEYWORD2>
 77			<KEYWORD2>match</KEYWORD2>
 78			<KEYWORD2>rand</KEYWORD2>
 79			<KEYWORD2>sin</KEYWORD2>
 80			<KEYWORD2>split</KEYWORD2>
 81			<KEYWORD2>sprintf</KEYWORD2>
 82			<KEYWORD2>sqrt</KEYWORD2>
 83			<KEYWORD2>srand</KEYWORD2>
 84			<KEYWORD2>sub</KEYWORD2>
 85			<KEYWORD2>substr</KEYWORD2>
 86			<KEYWORD2>system</KEYWORD2>
 87			<KEYWORD2>tolower</KEYWORD2>
 88			<KEYWORD2>toupper</KEYWORD2>
 89
 90			<KEYWORD3>BEGIN</KEYWORD3>
 91			<KEYWORD3>END</KEYWORD3>
 92			<KEYWORD3>$0</KEYWORD3>
 93			<KEYWORD3>ARGC</KEYWORD3>
 94			<KEYWORD3>ARGIND</KEYWORD3>
 95			<KEYWORD3>ARGV</KEYWORD3>
 96			<KEYWORD3>CONVFMT</KEYWORD3>
 97			<KEYWORD3>ENVIRON</KEYWORD3>
 98			<KEYWORD3>ERRNO</KEYWORD3>
 99			<KEYWORD3>FIELDSWIDTH</KEYWORD3>
100			<KEYWORD3>FILENAME</KEYWORD3>
101			<KEYWORD3>FNR</KEYWORD3>
102			<KEYWORD3>FS</KEYWORD3>
103			<KEYWORD3>IGNORECASE</KEYWORD3>
104			<KEYWORD3>NF</KEYWORD3>
105			<KEYWORD3>NR</KEYWORD3>
106			<KEYWORD3>OFMT</KEYWORD3>
107			<KEYWORD3>OFS</KEYWORD3>
108			<KEYWORD3>ORS</KEYWORD3>
109			<KEYWORD3>RLENGTH</KEYWORD3>
110			<KEYWORD3>RS</KEYWORD3>
111			<KEYWORD3>RSTART</KEYWORD3>
112			<KEYWORD3>RT</KEYWORD3>
113			<KEYWORD3>SUBSEP</KEYWORD3>
114		</KEYWORDS>
115	</RULES>
116</MODE>