Go to the documentation of this file.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_netcdf extends HFile{
00006 function HFile_netcdf(){
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");
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 "data" => "1",
00046 "dimensions" => "1",
00047 "netcdf" => "1",
00048 "variables" => "1",
00049 "byte" => "2",
00050 "char" => "2",
00051 "double" => "2",
00052 "float" => "2",
00053 "int" => "2",
00054 "long" => "2",
00055 "real" => "2",
00056 "short" => "2",
00057 "C_format" => "3",
00058 "Conventions" => "3",
00059 "add_offset" => "3",
00060 "history" => "3",
00061 "long_name" => "3",
00062 "missing_value" => "3",
00063 "scale_factor" => "3",
00064 "signedness" => "3",
00065 "title" => "3",
00066 "units" => "3",
00067 "valid_max" => "3",
00068 "valid_min" => "3",
00069 "valid_range" => "3",
00070 "_FillValue" => "3");
00071
00072
00073
00074
00075
00076
00077
00078
00079 $this->linkscripts = array(
00080 "1" => "donothing",
00081 "2" => "donothing",
00082 "3" => "donothing");
00083 }
00084
00085
00086 function donothing($keywordin)
00087 {
00088 return $keywordin;
00089 }
00090
00091 }?>