summaryrefslogtreecommitdiff
path: root/utils/jedit/tablegen.xml
blob: 2d80a3f9732f287e4951814d9ae6cdeaf17d2e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<MODE>
	<PROPS>
		<PROPERTY NAME="lineComment" VALUE="//" />
		<PROPERTY NAME="commentStart" VALUE="/*" />
		<PROPERTY NAME="commentEnd" VALUE="*/" />
		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
		<PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
		<PROPERTY NAME="unalignedOpenBrackets" VALUE="(&lt;" />
		<PROPERTY NAME="unalignedCloseBrackets" VALUE=")&gt;" />
	</PROPS>
	<RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
		<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
		<SPAN TYPE="COMMENT1">
		    <BEGIN>/*</BEGIN>
		    <END>*/</END>
		</SPAN>
		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE" ESCAPE="\">
		    <BEGIN>"</BEGIN>
		    <END>"</END>
		</SPAN>
		<KEYWORDS>
			<KEYWORD1>let</KEYWORD1>
			<KEYWORD1>def</KEYWORD1>
			<KEYWORD1>class</KEYWORD1>
			<KEYWORD1>include</KEYWORD1>

			<KEYWORD3>bit</KEYWORD3>
			<KEYWORD3>int</KEYWORD3>
			<KEYWORD3>string</KEYWORD3>
			<KEYWORD3>bits</KEYWORD3>
			<KEYWORD3>list</KEYWORD3>
			<KEYWORD3>dag</KEYWORD3>
			<KEYWORD3>code</KEYWORD3>
		</KEYWORDS>
	</RULES>
</MODE>