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_vrml extends HFile{
00006 function HFile_vrml(){
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");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("{", "[");
00028 $this->unindent = array("}", "]");
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 "AsciiText" => "1",
00046 "Box" => "1",
00047 "box" => "1",
00048 "Cone" => "1",
00049 "Cube" => "1",
00050 "Cylinder" => "1",
00051 "cone" => "1",
00052 "cube" => "1",
00053 "cylinder" => "1",
00054 "Group" => "1",
00055 "IndexedFaceSet" => "1",
00056 "IndexedLineSet" => "1",
00057 "Info" => "2",
00058 "LOD" => "1",
00059 "PointSet" => "1",
00060 "Separator" => "1",
00061 "Sphere" => "1",
00062 "Switch" => "1",
00063 "sphere" => "1",
00064 "WWWAnchor" => "1",
00065 "Appearance" => "2",
00066 "Coordinate3" => "2",
00067 "DirectionalLight" => "2",
00068 "FontStyle" => "2",
00069 "Material" => "2",
00070 "MaterialBinding" => "2",
00071 "MatrixTransform" => "2",
00072 "Normal" => "2",
00073 "NormalBinding" => "2",
00074 "OrthographicCamera" => "2",
00075 "PerspectiveCamera" => "2",
00076 "PointLight" => "2",
00077 "Rotation" => "2",
00078 "Scale" => "2",
00079 "Shape" => "2",
00080 "ShapeHints" => "2",
00081 "SpotLight" => "2",
00082 "Texture2" => "2",
00083 "Texture2Transform" => "2",
00084 "TextureCoordinate2" => "2",
00085 "Transform" => "2",
00086 "Translation" => "2",
00087 "WWWInline" => "2",
00088 "Approach" => "3",
00089 "Arches" => "3",
00090 "Beauty" => "3",
00091 "BitMask" => "3",
00092 "Bool" => "3",
00093 "Cameras" => "3",
00094 "Closeup" => "3",
00095 "Color" => "3",
00096 "Enum" => "3",
00097 "Float" => "3",
00098 "Guide" => "3",
00099 "Image" => "3",
00100 "Inside" => "3",
00101 "Long" => "3",
00102 "Matrix" => "3",
00103 "SceneInfo" => "3",
00104 "String" => "3",
00105 "Title" => "3",
00106 "Vec2f" => "3",
00107 "Vec3f" => "3",
00108 "Viewer" => "3",
00109 "ViewerSpeed" => "3",
00110 "ALL" => "4",
00111 "AUTO" => "4",
00112 "BINDINGS" => "4",
00113 "BOLD" => "4",
00114 "BOTTOM" => "4",
00115 "CENTER" => "4",
00116 "CLAMP" => "4",
00117 "CLOCKWISE" => "4",
00118 "CONVEX" => "4",
00119 "COUNTERCLOCKWISE" => "4",
00120 "CULLING" => "4",
00121 "DEF" => "4",
00122 "DEFAULT" => "4",
00123 "DEFAULTS" => "4",
00124 "ENUMS" => "4",
00125 "FACE" => "4",
00126 "FAMILY" => "4",
00127 "FILE" => "4",
00128 "FORMAT" => "4",
00129 "ITALIC" => "4",
00130 "JUSTIFICATION" => "4",
00131 "LEFT" => "4",
00132 "NONE" => "4",
00133 "OFF" => "4",
00134 "ON" => "4",
00135 "OVERALL" => "4",
00136 "PARTS" => "4",
00137 "PER_FACE" => "4",
00138 "PER_FACE_INDEXED" => "4",
00139 "PER_PART" => "4",
00140 "PER_PART_INDEXED" => "4",
00141 "PER_VERTEX" => "4",
00142 "PER_VERTEX_INDEXED" => "4",
00143 "REPEAT" => "4",
00144 "RIGHT" => "4",
00145 "SHAPE" => "4",
00146 "SIDES" => "4",
00147 "SOLID" => "4",
00148 "STYLE" => "4",
00149 "TYPE" => "4",
00150 "UNKNOWN_FACE_TYPE" => "4",
00151 "UNKNOWN_ORDERING" => "4",
00152 "UNKNOWN_SHAPE_TYPE" => "4",
00153 "USE" => "4",
00154 "WRAP" => "4",
00155 "Adirection" => "5",
00156 "ambientColor" => "5",
00157 "appearance" => "5",
00158 "bboxCenter" => "5",
00159 "bboxSize" => "5",
00160 "bottomRadius" => "5",
00161 "center" => "5",
00162 "children" => "5",
00163 "color" => "5",
00164 "coordIndex" => "5",
00165 "creaseAngle" => "5",
00166 "cutOffAngle" => "5",
00167 "depth" => "5",
00168 "description" => "5",
00169 "diffuseColor" => "5",
00170 "direction" => "5",
00171 "dropOffRate" => "5",
00172 "emissiveColor" => "5",
00173 "faceType" => "5",
00174 "family" => "5",
00175 "fields" => "5",
00176 "filename" => "5",
00177 "focalDistance" => "5",
00178 "geometry" => "5",
00179 "height" => "5",
00180 "heightAngle" => "5",
00181 "image" => "5",
00182 "indexOfRefraction" => "5",
00183 "intensity" => "5",
00184 "isA" => "5",
00185 "justification" => "5",
00186 "location" => "5",
00187 "map" => "5",
00188 "material" => "5",
00189 "materialIndex" => "5",
00190 "matrix" => "5",
00191 "name" => "5",
00192 "normalIndex" => "5",
00193 "numPoints" => "5",
00194 "on" => "5",
00195 "orientation" => "5",
00196 "parts" => "5",
00197 "point" => "5",
00198 "position" => "5",
00199 "radius" => "5",
00200 "range" => "5",
00201 "renderCulling" => "5",
00202 "rotation" => "5",
00203 "scaleFactor" => "5",
00204 "scaleOrientation" => "5",
00205 "shapeType" => "5",
00206 "shininess" => "5",
00207 "size" => "5",
00208 "spacing" => "5",
00209 "specularColor" => "5",
00210 "startIndex" => "5",
00211 "string" => "5",
00212 "style" => "5",
00213 "textureCoordIndex" => "5",
00214 "translation" => "5",
00215 "transparency" => "5",
00216 "value" => "5",
00217 "vector" => "5",
00218 "vertexOrdering" => "5",
00219 "whichChild" => "5",
00220 "width" => "5",
00221 "wrapS" => "5",
00222 "wrapT" => "5");
00223
00224
00225
00226
00227
00228
00229
00230
00231 $this->linkscripts = array(
00232 "1" => "donothing",
00233 "2" => "donothing",
00234 "3" => "donothing",
00235 "4" => "donothing",
00236 "5" => "donothing");
00237 }
00238
00239
00240 function donothing($keywordin)
00241 {
00242 return $keywordin;
00243 }
00244
00245 }?>