PageRenderTime 24484ms CodeModel.GetById 1484ms app.highlight 1997ms RepoModel.GetById 832ms app.codeStats 9868ms

/jEdit/tags/jedit-4-0-pre5/modes/awk.xml

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