00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_rmanint extends HFile{
00006 function HFile_rmanint(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("{", "Begin", "AttributeBegin", "FrameBegin", "MotionBegin", "ObjectBegin", "SolidBegin", "TransformBegin", "WorldBegin");
00028 $this->unindent = array("}", "End", "AttributeEnd", "FrameEnd", "MotionEnd", "ObjectEnd", "SolidEnd", "TransformEnd", "WorldEnd");
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("#");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "AreaLightSource" => "1",
00046 "Attribute" => "1",
00047 "AttributeBegin" => "1",
00048 "AttributeEnd" => "1",
00049 "Begin" => "1",
00050 "Bound" => "1",
00051 "Clipping" => "1",
00052 "Color" => "1",
00053 "ColorSamples" => "1",
00054 "ConcatTransform" => "1",
00055 "CoordinateSystem" => "1",
00056 "CropWindow" => "1",
00057 "Declare" => "1",
00058 "DepthOfField" => "1",
00059 "Detail" => "1",
00060 "DetailRange" => "1",
00061 "Displacement" => "1",
00062 "Display" => "1",
00063 "End" => "1",
00064 "Exterior" => "1",
00065 "Format" => "1",
00066 "FrameAspectRatio" => "1",
00067 "FrameBegin" => "1",
00068 "FrameEnd" => "1",
00069 "GeometricApproximation" => "1",
00070 "Hider" => "1",
00071 "Identity" => "1",
00072 "Illuminance" => "1",
00073 "Illuminate" => "1",
00074 "Interior" => "1",
00075 "LightSource" => "1",
00076 "Matte" => "1",
00077 "Opacity" => "1",
00078 "Option" => "1",
00079 "Orientation" => "1",
00080 "Perspective" => "1",
00081 "PixelFilter" => "1",
00082 "PixelSamples" => "1",
00083 "PixelVariance" => "1",
00084 "Projection" => "1",
00085 "Quantize" => "1",
00086 "RelativeDetail" => "1",
00087 "RiAreaLightSource" => "1",
00088 "RiAttribute" => "1",
00089 "RiAttributeEnd" => "1",
00090 "RiBegin" => "1",
00091 "RiBound" => "1",
00092 "RiClipping" => "1",
00093 "RiColor" => "1",
00094 "RiColorSamples" => "1",
00095 "RiConcatTransform" => "1",
00096 "RiCoordinateSystem" => "1",
00097 "RiCropWindow" => "1",
00098 "RiDepthOfField" => "1",
00099 "RiDetail" => "1",
00100 "RiDetailRange" => "1",
00101 "RiDisplacement" => "1",
00102 "RiDisplay" => "1",
00103 "RiEnd" => "1",
00104 "RiExterior" => "1",
00105 "RiFormat" => "1",
00106 "RiFrameAspectRatio" => "1",
00107 "RiFrameBegin" => "1",
00108 "RiFrameEnd" => "1",
00109 "RiGeometricApproximation" => "1",
00110 "RiHider" => "1",
00111 "RiIdentity" => "1",
00112 "RiIlluminate" => "1",
00113 "RiInterior" => "1",
00114 "RiLightSource" => "1",
00115 "RiMatte" => "1",
00116 "RiOpacity" => "1",
00117 "RiOption" => "1",
00118 "RiOrientation" => "1",
00119 "RiPerspective" => "1",
00120 "RiPixelFilter" => "1",
00121 "RiPixelSamples" => "1",
00122 "RiPixelVariance" => "1",
00123 "RiProjection" => "1",
00124 "RiQuantize" => "1",
00125 "RiRelativeDetail" => "1",
00126 "RiRotate" => "1",
00127 "RiScreenWindow" => "1",
00128 "RiShadingInterpolation" => "1",
00129 "RiShadingRate" => "1",
00130 "RiShutter" => "1",
00131 "RiSides" => "1",
00132 "RiSkew" => "1",
00133 "RiSurface" => "1",
00134 "RiTextureCoordinates" => "1",
00135 "RiTransform" => "1",
00136 "RiTransformBegin" => "1",
00137 "RiTransformEnd" => "1",
00138 "RiTransformPoints" => "1",
00139 "RiTranslate" => "1",
00140 "RiWorldBegin" => "1",
00141 "RiWorldEnd" => "1",
00142 "Rotate" => "1",
00143 "Scale" => "1",
00144 "ScreenWindow" => "1",
00145 "ShadingInterpolation" => "1",
00146 "ShadingRate" => "1",
00147 "Shutter" => "1",
00148 "Sides" => "1",
00149 "Skew" => "1",
00150 "Surface" => "1",
00151 "TextureCoordinates" => "1",
00152 "Transform" => "1",
00153 "TransformBegin" => "1",
00154 "TransformEnd" => "1",
00155 "TransformPoints" => "1",
00156 "Translate" => "1",
00157 "version" => "1",
00158 "WorldBegin" => "1",
00159 "WorldEnd" => "1",
00160 "Basis" => "2",
00161 "Cylinder" => "2",
00162 "Disk" => "2",
00163 "GeneralPolygon" => "2",
00164 "Geometry" => "2",
00165 "Hyperboloid" => "2",
00166 "NuPatch" => "2",
00167 "ObjectBegin" => "2",
00168 "ObjectEnd" => "2",
00169 "ObjectInstance" => "2",
00170 "Patch" => "2",
00171 "Paraboloid" => "2",
00172 "PointsPolygons" => "2",
00173 "PointsGeneralPolygons" => "2",
00174 "Polygon" => "2",
00175 "Procedural" => "2",
00176 "SolidBegin" => "2",
00177 "SolidEnd" => "2",
00178 "Sphere" => "2",
00179 "Torus" => "2",
00180 "RiBasis" => "2",
00181 "RiCylinder" => "2",
00182 "RiGeneralPolygon" => "2",
00183 "RiGeometry" => "2",
00184 "RiHyperboloid" => "2",
00185 "RiNuPatch" => "2",
00186 "RiObjectBegin" => "2",
00187 "RiObjectEnd" => "2",
00188 "RiObjectInstance" => "2",
00189 "RiPatch" => "2",
00190 "RiParaboloid" => "2",
00191 "RiPointsPolygons" => "2",
00192 "RiPointsGeneralPolygons" => "2",
00193 "RiPolygon" => "2",
00194 "RiProcedural" => "2",
00195 "RiSolidBegin" => "2",
00196 "RiSolidEnd" => "2",
00197 "RiSphere" => "2",
00198 "RiTorus" => "2",
00199 "MotionBegin" => "3",
00200 "MotionEnd" => "3",
00201 "RiMotionBegin" => "3",
00202 "RiMotionEnd" => "3",
00203 "MakeBump" => "4",
00204 "MakeCubeFaceEnvironment" => "4",
00205 "MakeLatLongEnvironment" => "4",
00206 "MakeTexture" => "4",
00207 "RiMakeBump" => "4",
00208 "RiMakeCubeFaceEnvironment" => "4",
00209 "RiMakeLatLongEnvironment" => "4",
00210 "RiMakeTexture" => "4",
00211 "ArchiveRecord" => "5",
00212 "ErrorHandler" => "5",
00213 "RiArchiveRecord" => "5",
00214 "RiErrorHandler" => "5",
00215 "Ci" => "6",
00216 "Cl" => "6",
00217 "Cs" => "6",
00218 "E" => "6",
00219 "I" => "6",
00220 "L" => "6",
00221 "N" => "6",
00222 "Ng" => "6",
00223 "Oi" => "6",
00224 "Ol" => "6",
00225 "Os" => "6",
00226 "P" => "6",
00227 "dPdu" => "6",
00228 "dPdv" => "6",
00229 "du" => "6",
00230 "dv" => "6",
00231 "ncomps" => "6",
00232 "s" => "6",
00233 "t" => "6",
00234 "time" => "6",
00235 "u" => "6",
00236 "v" => "6");
00237
00238
00239
00240
00241
00242
00243
00244
00245 $this->linkscripts = array(
00246 "1" => "donothing",
00247 "2" => "donothing",
00248 "3" => "donothing",
00249 "4" => "donothing",
00250 "5" => "donothing",
00251 "6" => "donothing");
00252 }
00253
00254
00255 function donothing($keywordin)
00256 {
00257 return $keywordin;
00258 }
00259
00260 }?>