ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_rmanint.php
Go to the documentation of this file.
1<?php
2$BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3if (!isset($BEAUT_PATH)) {
4 return;
5}
6require_once("$BEAUT_PATH/Beautifier/HFile.php");
7 class HFile_rmanint extends HFile
8 {
9 public function HFile_rmanint()
10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // Rman Interface
15 /*************************************/
16 // Flags
17
18 $this->nocase = "0";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22 // Colours
23
24 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29 // Indent Strings
30
31 $this->indent = array("{", "Begin", "AttributeBegin", "FrameBegin", "MotionBegin", "ObjectBegin", "SolidBegin", "TransformBegin", "WorldBegin");
32 $this->unindent = array("}", "End", "AttributeEnd", "FrameEnd", "MotionEnd", "ObjectEnd", "SolidEnd", "TransformEnd", "WorldEnd");
33
34 // String characters and delimiters
35
36 $this->stringchars = array();
37 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
38 $this->escchar = "";
39
40 // Comment settings
41
42 $this->linecommenton = array("#");
43 $this->blockcommenton = array("");
44 $this->blockcommentoff = array("");
45
46 // Keywords (keyword mapping to colour number)
47
48 $this->keywords = array(
49 "AreaLightSource" => "1",
50 "Attribute" => "1",
51 "AttributeBegin" => "1",
52 "AttributeEnd" => "1",
53 "Begin" => "1",
54 "Bound" => "1",
55 "Clipping" => "1",
56 "Color" => "1",
57 "ColorSamples" => "1",
58 "ConcatTransform" => "1",
59 "CoordinateSystem" => "1",
60 "CropWindow" => "1",
61 "Declare" => "1",
62 "DepthOfField" => "1",
63 "Detail" => "1",
64 "DetailRange" => "1",
65 "Displacement" => "1",
66 "Display" => "1",
67 "End" => "1",
68 "Exterior" => "1",
69 "Format" => "1",
70 "FrameAspectRatio" => "1",
71 "FrameBegin" => "1",
72 "FrameEnd" => "1",
73 "GeometricApproximation" => "1",
74 "Hider" => "1",
75 "Identity" => "1",
76 "Illuminance" => "1",
77 "Illuminate" => "1",
78 "Interior" => "1",
79 "LightSource" => "1",
80 "Matte" => "1",
81 "Opacity" => "1",
82 "Option" => "1",
83 "Orientation" => "1",
84 "Perspective" => "1",
85 "PixelFilter" => "1",
86 "PixelSamples" => "1",
87 "PixelVariance" => "1",
88 "Projection" => "1",
89 "Quantize" => "1",
90 "RelativeDetail" => "1",
91 "RiAreaLightSource" => "1",
92 "RiAttribute" => "1",
93 "RiAttributeEnd" => "1",
94 "RiBegin" => "1",
95 "RiBound" => "1",
96 "RiClipping" => "1",
97 "RiColor" => "1",
98 "RiColorSamples" => "1",
99 "RiConcatTransform" => "1",
100 "RiCoordinateSystem" => "1",
101 "RiCropWindow" => "1",
102 "RiDepthOfField" => "1",
103 "RiDetail" => "1",
104 "RiDetailRange" => "1",
105 "RiDisplacement" => "1",
106 "RiDisplay" => "1",
107 "RiEnd" => "1",
108 "RiExterior" => "1",
109 "RiFormat" => "1",
110 "RiFrameAspectRatio" => "1",
111 "RiFrameBegin" => "1",
112 "RiFrameEnd" => "1",
113 "RiGeometricApproximation" => "1",
114 "RiHider" => "1",
115 "RiIdentity" => "1",
116 "RiIlluminate" => "1",
117 "RiInterior" => "1",
118 "RiLightSource" => "1",
119 "RiMatte" => "1",
120 "RiOpacity" => "1",
121 "RiOption" => "1",
122 "RiOrientation" => "1",
123 "RiPerspective" => "1",
124 "RiPixelFilter" => "1",
125 "RiPixelSamples" => "1",
126 "RiPixelVariance" => "1",
127 "RiProjection" => "1",
128 "RiQuantize" => "1",
129 "RiRelativeDetail" => "1",
130 "RiRotate" => "1",
131 "RiScreenWindow" => "1",
132 "RiShadingInterpolation" => "1",
133 "RiShadingRate" => "1",
134 "RiShutter" => "1",
135 "RiSides" => "1",
136 "RiSkew" => "1",
137 "RiSurface" => "1",
138 "RiTextureCoordinates" => "1",
139 "RiTransform" => "1",
140 "RiTransformBegin" => "1",
141 "RiTransformEnd" => "1",
142 "RiTransformPoints" => "1",
143 "RiTranslate" => "1",
144 "RiWorldBegin" => "1",
145 "RiWorldEnd" => "1",
146 "Rotate" => "1",
147 "Scale" => "1",
148 "ScreenWindow" => "1",
149 "ShadingInterpolation" => "1",
150 "ShadingRate" => "1",
151 "Shutter" => "1",
152 "Sides" => "1",
153 "Skew" => "1",
154 "Surface" => "1",
155 "TextureCoordinates" => "1",
156 "Transform" => "1",
157 "TransformBegin" => "1",
158 "TransformEnd" => "1",
159 "TransformPoints" => "1",
160 "Translate" => "1",
161 "version" => "1",
162 "WorldBegin" => "1",
163 "WorldEnd" => "1",
164 "Basis" => "2",
165 "Cylinder" => "2",
166 "Disk" => "2",
167 "GeneralPolygon" => "2",
168 "Geometry" => "2",
169 "Hyperboloid" => "2",
170 "NuPatch" => "2",
171 "ObjectBegin" => "2",
172 "ObjectEnd" => "2",
173 "ObjectInstance" => "2",
174 "Patch" => "2",
175 "Paraboloid" => "2",
176 "PointsPolygons" => "2",
177 "PointsGeneralPolygons" => "2",
178 "Polygon" => "2",
179 "Procedural" => "2",
180 "SolidBegin" => "2",
181 "SolidEnd" => "2",
182 "Sphere" => "2",
183 "Torus" => "2",
184 "RiBasis" => "2",
185 "RiCylinder" => "2",
186 "RiGeneralPolygon" => "2",
187 "RiGeometry" => "2",
188 "RiHyperboloid" => "2",
189 "RiNuPatch" => "2",
190 "RiObjectBegin" => "2",
191 "RiObjectEnd" => "2",
192 "RiObjectInstance" => "2",
193 "RiPatch" => "2",
194 "RiParaboloid" => "2",
195 "RiPointsPolygons" => "2",
196 "RiPointsGeneralPolygons" => "2",
197 "RiPolygon" => "2",
198 "RiProcedural" => "2",
199 "RiSolidBegin" => "2",
200 "RiSolidEnd" => "2",
201 "RiSphere" => "2",
202 "RiTorus" => "2",
203 "MotionBegin" => "3",
204 "MotionEnd" => "3",
205 "RiMotionBegin" => "3",
206 "RiMotionEnd" => "3",
207 "MakeBump" => "4",
208 "MakeCubeFaceEnvironment" => "4",
209 "MakeLatLongEnvironment" => "4",
210 "MakeTexture" => "4",
211 "RiMakeBump" => "4",
212 "RiMakeCubeFaceEnvironment" => "4",
213 "RiMakeLatLongEnvironment" => "4",
214 "RiMakeTexture" => "4",
215 "ArchiveRecord" => "5",
216 "ErrorHandler" => "5",
217 "RiArchiveRecord" => "5",
218 "RiErrorHandler" => "5",
219 "Ci" => "6",
220 "Cl" => "6",
221 "Cs" => "6",
222 "E" => "6",
223 "I" => "6",
224 "L" => "6",
225 "N" => "6",
226 "Ng" => "6",
227 "Oi" => "6",
228 "Ol" => "6",
229 "Os" => "6",
230 "P" => "6",
231 "dPdu" => "6",
232 "dPdv" => "6",
233 "du" => "6",
234 "dv" => "6",
235 "ncomps" => "6",
236 "s" => "6",
237 "t" => "6",
238 "time" => "6",
239 "u" => "6",
240 "v" => "6");
241
242 // Special extensions
243
244 // Each category can specify a PHP function that returns an altered
245 // version of the keyword.
246
247
248
249 $this->linkscripts = array(
250 "1" => "donothing",
251 "2" => "donothing",
252 "3" => "donothing",
253 "4" => "donothing",
254 "5" => "donothing",
255 "6" => "donothing");
256 }
257
258
259 public function donothing($keywordin)
260 {
261 return $keywordin;
262 }
263 }
$BEAUT_PATH
An exception for terminatinating execution or to throw for unit testing.
donothing($keywordin)