PageRenderTime 70ms CodeModel.GetById 61ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
XML | 243 lines | 239 code | 2 blank | 2 comment | 0 complexity | cf2373d495cbd0940593c13842540519 MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- Povray mode, by Slava Pestov
  6     based on PovrayTokenMarker, by Romain Guy -->
  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="lineComment" VALUE="//" />
 14	</PROPS>
 15	<RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
 16		<!-- whitespace: (space and tab) -->
 17		<WHITESPACE> </WHITESPACE>
 18		<WHITESPACE>	</WHITESPACE>
 19
 20		<!-- C style comment -->
 21		<SPAN TYPE="COMMENT1">
 22			<BEGIN>/*</BEGIN>
 23			<END>*/</END>
 24		</SPAN>
 25
 26		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 27			<BEGIN>"</BEGIN>
 28			<END>"</END>
 29		</SPAN>
 30		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 31			<BEGIN>'</BEGIN>
 32			<END>'</END>
 33		</SPAN>
 34
 35		<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
 36		<SEQ TYPE="NULL">)</SEQ>
 37		<SEQ TYPE="OPERATOR">=</SEQ>
 38		<SEQ TYPE="OPERATOR">!</SEQ>
 39		<SEQ TYPE="OPERATOR">&gt;=</SEQ>
 40		<SEQ TYPE="OPERATOR">&lt;=</SEQ>
 41		<SEQ TYPE="OPERATOR">+</SEQ>
 42		<SEQ TYPE="OPERATOR">-</SEQ>
 43		<SEQ TYPE="OPERATOR">/</SEQ>
 44
 45		<SEQ TYPE="OPERATOR">*</SEQ>
 46		<SEQ TYPE="OPERATOR">&gt;</SEQ>
 47		<SEQ TYPE="OPERATOR">&lt;</SEQ>
 48		<SEQ TYPE="OPERATOR">%</SEQ>
 49		<SEQ TYPE="OPERATOR">&amp;</SEQ>
 50		<SEQ TYPE="OPERATOR">|</SEQ>
 51		<SEQ TYPE="OPERATOR">^</SEQ>
 52		<SEQ TYPE="OPERATOR">~</SEQ>
 53		<SEQ TYPE="OPERATOR">}</SEQ>
 54		<SEQ TYPE="OPERATOR">{</SEQ>
 55		<SEQ TYPE="NULL">.</SEQ>
 56		<SEQ TYPE="NULL">,</SEQ>
 57		<SEQ TYPE="NULL">;</SEQ>
 58		<SEQ TYPE="NULL">]</SEQ>
 59		<SEQ TYPE="NULL">[</SEQ>
 60		<SEQ TYPE="NULL">?</SEQ>
 61		<MARK_PREVIOUS TYPE="LABEL" EXCLUDE_MATCH="TRUE"
 62			AT_LINE_START="TRUE">:</MARK_PREVIOUS>
 63		<SEQ TYPE="NULL">:</SEQ>
 64
 65		<!-- Function calls -->
 66		<MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="TRUE">(</MARK_PREVIOUS>
 67
 68		<KEYWORDS IGNORE_CASE="FALSE">
 69			<KEYWORD1>adaptive</KEYWORD1>
 70			<KEYWORD1>agate</KEYWORD1>
 71			<KEYWORD1>agate_turb</KEYWORD1>
 72			<KEYWORD1>all</KEYWORD1>
 73			<KEYWORD1>alpha</KEYWORD1>
 74			<KEYWORD1>ambient</KEYWORD1>
 75			<KEYWORD1>angle</KEYWORD1>
 76			<KEYWORD1>arc_angle</KEYWORD1>
 77			<KEYWORD3>area_light</KEYWORD3>
 78			<KEYWORD3>atmosphere</KEYWORD3>
 79			<KEYWORD1>atmospheric_attenuation</KEYWORD1>
 80			<KEYWORD3>background</KEYWORD3>
 81			<KEYWORD3>bicubic_patch</KEYWORD3>
 82			<KEYWORD3>blob</KEYWORD3>
 83			<LITERAL2>blue</LITERAL2>
 84			<KEYWORD1>bounded_by</KEYWORD1>
 85			<KEYWORD3>box</KEYWORD3>
 86			<KEYWORD1>bozo</KEYWORD1>
 87			<KEYWORD1>brilliance</KEYWORD1>
 88			<KEYWORD1>bumps</KEYWORD1>
 89			<KEYWORD3>bump_map</KEYWORD3>
 90			<KEYWORD1>bump_size</KEYWORD1>
 91			<KEYWORD3>camera</KEYWORD3>
 92			<KEYWORD1>checker</KEYWORD1>
 93			<KEYWORD1>clipped_by</KEYWORD1>
 94			<LITERAL2>clock</LITERAL2>
 95			<KEYWORD1>color</KEYWORD1>
 96			<KEYWORD3>color_map</KEYWORD3>
 97			<KEYWORD1>colour</KEYWORD1>
 98			<KEYWORD3>colour_map</KEYWORD3>
 99			<KEYWORD1>component</KEYWORD1>
100			<KEYWORD1>composite</KEYWORD1>
101			<KEYWORD3>cone</KEYWORD3>
102			<KEYWORD1>crand</KEYWORD1>
103			<KEYWORD3>cubic</KEYWORD3>
104			<KEYWORD3>cylinder</KEYWORD3>
105			<KEYWORD1>cylindrical_mapping</KEYWORD1>
106			<LITERAL2>declare</LITERAL2>
107			<LITERAL2>default</LITERAL2>
108			<KEYWORD1>dents</KEYWORD1>
109			<KEYWORD1>difference</KEYWORD1>
110			<KEYWORD1>diffuse</KEYWORD1>
111			<KEYWORD1>direction</KEYWORD1>
112			<KEYWORD3>disc</KEYWORD3>
113			<KEYWORD1>distance</KEYWORD1>
114			<KEYWORD1>dump</KEYWORD1>
115			<KEYWORD1>emitting</KEYWORD1>
116			<KEYWORD1>falloff</KEYWORD1>
117			<KEYWORD1>falloff_angle</KEYWORD1>
118			<KEYWORD1>filter</KEYWORD1>
119			<KEYWORD3>finish</KEYWORD3>
120			<KEYWORD1>flatness</KEYWORD1>
121			<KEYWORD3>fog</KEYWORD3>
122			<KEYWORD1>fog_alt</KEYWORD1>
123			<KEYWORD1>fog_offset</KEYWORD1>
124			<KEYWORD1>fog_type</KEYWORD1>
125			<KEYWORD1>frequency</KEYWORD1>
126			<LITERAL2>gif</LITERAL2>
127			<KEYWORD3>gradient</KEYWORD3>
128			<KEYWORD1>granite</KEYWORD1>
129			<LITERAL2>green</LITERAL2>
130			<KEYWORD3>height_field</KEYWORD3>
131			<KEYWORD1>hexagon</KEYWORD1>
132			<LITERAL2>iff</LITERAL2>
133			<KEYWORD3>image_map</KEYWORD3>
134			<LITERAL2>include</LITERAL2>
135			<KEYWORD1>interpolate</KEYWORD1>
136			<KEYWORD1>intersection</KEYWORD1>
137			<KEYWORD1>inverse</KEYWORD1>
138			<KEYWORD1>ior</KEYWORD1>
139			<KEYWORD3>halo</KEYWORD3>
140			<KEYWORD1>jitter</KEYWORD1>
141			<KEYWORD1>lambda</KEYWORD1>
142			<KEYWORD1>leopard</KEYWORD1>
143			<KEYWORD3>light_source</KEYWORD3>
144			<KEYWORD1>linear</KEYWORD1>
145			<KEYWORD1>linear_spline</KEYWORD1>
146			<KEYWORD1>location</KEYWORD1>
147			<KEYWORD1>looks_like</KEYWORD1>
148			<KEYWORD1>look_at</KEYWORD1>
149			<KEYWORD1>mandel</KEYWORD1>
150			<KEYWORD1>map_type</KEYWORD1>
151			<KEYWORD1>marble</KEYWORD1>
152			<KEYWORD3>material_map</KEYWORD3>
153			<LABEL>max_intersections</LABEL>
154			<LABEL>max_trace_level</LABEL>
155			<KEYWORD1>merge</KEYWORD1>
156			<KEYWORD1>metallic</KEYWORD1>
157			<KEYWORD3>normal</KEYWORD3>
158			<KEYWORD1>no_shadow</KEYWORD1>
159			<KEYWORD3>object</KEYWORD3>
160			<LITERAL2>off</LITERAL2>
161			<LITERAL2>on</LITERAL2>
162			<KEYWORD1>octaves</KEYWORD1>
163			<KEYWORD1>omega</KEYWORD1>
164			<KEYWORD1>once</KEYWORD1>
165			<KEYWORD1>onion</KEYWORD1>
166			<KEYWORD1>open</KEYWORD1>
167			<KEYWORD1>phase</KEYWORD1>
168			<KEYWORD1>phong</KEYWORD1>
169			<KEYWORD1>phong_size</KEYWORD1>
170			<KEYWORD3>pigment</KEYWORD3>
171			<KEYWORD3>plane</KEYWORD3>
172			<KEYWORD1>point_at</KEYWORD1>
173			<KEYWORD3>poly</KEYWORD3>
174			<LITERAL2>pot</LITERAL2>
175			<KEYWORD3>prism</KEYWORD3>
176			<KEYWORD3>quadric</KEYWORD3>
177			<KEYWORD3>quartic</KEYWORD3>
178			<KEYWORD1>quick_color</KEYWORD1>
179			<KEYWORD1>quick_colour</KEYWORD1>
180			<KEYWORD1>radial</KEYWORD1>
181			<KEYWORD1>radius</KEYWORD1>
182			<KEYWORD3>rainbow</KEYWORD3>
183			<KEYWORD1>raw</KEYWORD1>
184			<LITERAL2>red</LITERAL2>
185			<KEYWORD1>reflection</KEYWORD1>
186			<KEYWORD1>refraction</KEYWORD1>
187			<KEYWORD1>rgb</KEYWORD1>
188			<KEYWORD1>rgbf</KEYWORD1>
189			<KEYWORD1>rgbt</KEYWORD1>
190			<KEYWORD1>right</KEYWORD1>
191			<KEYWORD1>ripples</KEYWORD1>
192			<KEYWORD1>rotate</KEYWORD1>
193			<KEYWORD1>roughness</KEYWORD1>
194			<KEYWORD1>samples</KEYWORD1>
195			<KEYWORD1>scale</KEYWORD1>
196			<KEYWORD1>scattering</KEYWORD1>
197			<KEYWORD1>shadowless</KEYWORD1>
198			<KEYWORD3>sky</KEYWORD3>
199			<KEYWORD3>sky_sphere</KEYWORD3>
200			<KEYWORD3>smooth</KEYWORD3>
201			<KEYWORD3>smooth_triangle</KEYWORD3>
202			<KEYWORD3>sor</KEYWORD3>
203			<KEYWORD1>specular</KEYWORD1>
204			<KEYWORD3>sphere</KEYWORD3>
205			<KEYWORD1>spherical_mapping</KEYWORD1>
206			<KEYWORD1>spiral1</KEYWORD1>
207			<KEYWORD1>spotlight</KEYWORD1>
208			<KEYWORD1>spotted</KEYWORD1>
209			<KEYWORD1>sturm</KEYWORD1>
210			<KEYWORD3>text</KEYWORD3>
211			<KEYWORD3>texture</KEYWORD3>
212			<LITERAL2>tga</LITERAL2>
213			<KEYWORD1>threshold</KEYWORD1>
214			<KEYWORD1>tightness</KEYWORD1>
215			<KEYWORD1>tile0</KEYWORD1>
216			<KEYWORD1>tiles</KEYWORD1>
217			<KEYWORD3>torus</KEYWORD3>
218			<KEYWORD1>translate</KEYWORD1>
219			<KEYWORD1>transmit</KEYWORD1>
220			<KEYWORD3>triangle</KEYWORD3>
221			<LITERAL2>ttf</LITERAL2>
222			<KEYWORD1>turb_depth</KEYWORD1>
223			<KEYWORD1>turbulence</KEYWORD1>
224			<KEYWORD1>type</KEYWORD1>
225			<KEYWORD1>union</KEYWORD1>
226			<KEYWORD1>up</KEYWORD1>
227			<KEYWORD1>use_color</KEYWORD1>
228			<KEYWORD1>use_colour</KEYWORD1>
229			<KEYWORD1>use_index</KEYWORD1>
230			<KEYWORD1>u_steps</KEYWORD1>
231			<LABEL>version</LABEL>
232			<KEYWORD1>v_steps</KEYWORD1>
233			<KEYWORD1>water_level</KEYWORD1>
234			<KEYWORD1>waves</KEYWORD1>
235			<KEYWORD1>width</KEYWORD1>
236			<KEYWORD1>wood</KEYWORD1>
237			<KEYWORD1>wrinkles</KEYWORD1>
238			<LITERAL2>x</LITERAL2>
239			<LITERAL2>y</LITERAL2>
240			<LITERAL2>z</LITERAL2>
241		</KEYWORDS>
242	</RULES>
243</MODE>