• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_acpi.php

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_acpi extends HFile{
00006    function HFile_acpi(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // ASL
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("{");
00028 $this->unindent                 = array("}");
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array("\"", "'");
00033 $this->delimiters               = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "      ", ".", "?");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("//");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "Break" => "1", 
00046                         "BreakPoint" => "1", 
00047                         "Continue" => "1", 
00048                         "Else" => "1", 
00049                         "ElseIf" => "1", 
00050                         "Fatal" => "1", 
00051                         "If" => "1", 
00052                         "Load" => "1", 
00053                         "Noop" => "1", 
00054                         "Notify" => "1", 
00055                         "Release" => "1", 
00056                         "Reset" => "1", 
00057                         "Return" => "1", 
00058                         "Signal" => "1", 
00059                         "Sleep" => "1", 
00060                         "Stall" => "1", 
00061                         "Switch" => "1", 
00062                         "Unload" => "1", 
00063                         "While" => "1", 
00064                         "BankField" => "2", 
00065                         "CreateBitField" => "2", 
00066                         "CreateByteField" => "2", 
00067                         "CreateDWordField" => "2", 
00068                         "CreateField" => "2", 
00069                         "CreateQWordField" => "2", 
00070                         "CreateWordField" => "2", 
00071                         "DataTableRegion" => "2", 
00072                         "Device" => "2", 
00073                         "Event" => "2", 
00074                         "Field" => "2", 
00075                         "IndexField" => "2", 
00076                         "Method" => "2", 
00077                         "Mutex" => "2", 
00078                         "OperationRegion" => "2", 
00079                         "PowerResource" => "2", 
00080                         "Processor" => "2", 
00081                         "ThermalZone" => "2", 
00082                         "CMOS" => "3", 
00083                         "EmbeddedControl" => "3", 
00084                         "PCI_Config" => "3", 
00085                         "PciBarTarget" => "3", 
00086                         "SMBus" => "3", 
00087                         "SystemIO" => "3", 
00088                         "SystemMemory" => "3", 
00089                         "AnyAcc" => "4", 
00090                         "BufferAcc" => "4", 
00091                         "ByteAcc" => "4", 
00092                         "DWordAcc" => "4", 
00093                         "QWordAcc" => "4", 
00094                         "WordAcc" => "4", 
00095                         "Alias" => "5", 
00096                         "Name" => "5", 
00097                         "Scope" => "5", 
00098                         "Acquire" => "6", 
00099                         "Add" => "6", 
00100                         "And" => "6", 
00101                         "Buff" => "6", 
00102                         "Concatenate" => "6", 
00103                         "ConcatenateResTemplate" => "6", 
00104                         "CondRefOf" => "6", 
00105                         "Decrement" => "6", 
00106                         "DecStr" => "6", 
00107                         "DerefOf" => "6", 
00108                         "Divide" => "6", 
00109                         "FindSetLeftBit" => "6", 
00110                         "FindSetRightBit" => "6", 
00111                         "FromBCD" => "6", 
00112                         "HexStr" => "6", 
00113                         "Increment" => "6", 
00114                         "Index" => "6", 
00115                         "Int" => "6", 
00116                         "LAnd" => "6", 
00117                         "LEqual" => "6", 
00118                         "LGreater" => "6", 
00119                         "LGreaterEqual" => "6", 
00120                         "LLess" => "6", 
00121                         "LLessEqual" => "6", 
00122                         "LNot" => "6", 
00123                         "LNotEqual" => "6", 
00124                         "LoadTable" => "6", 
00125                         "LOr" => "6", 
00126                         "Match" => "6", 
00127                         "Mid" => "6", 
00128                         "Mod" => "6", 
00129                         "Multiply" => "6", 
00130                         "NAnd" => "6", 
00131                         "NOr" => "6", 
00132                         "Not" => "6", 
00133                         "ObjectType" => "6", 
00134                         "Or" => "6", 
00135                         "RefOf" => "6", 
00136                         "ShiftLeft" => "6", 
00137                         "ShiftRight" => "6", 
00138                         "SizeOf" => "6", 
00139                         "Store" => "6", 
00140                         "String" => "6", 
00141                         "Subtract" => "6", 
00142                         "ToBCD" => "6", 
00143                         "Wait" => "6", 
00144                         "Xor" => "6", 
00145                         "Integer" => "7", 
00146                         "Sting" => "7", 
00147                         "Buffer" => "7");
00148 
00149 // Special extensions
00150 
00151 // Each category can specify a PHP function that returns an altered
00152 // version of the keyword.
00153         
00154         
00155 
00156 $this->linkscripts      = array(
00157                         "1" => "donothing", 
00158                         "2" => "donothing", 
00159                         "3" => "donothing", 
00160                         "4" => "donothing", 
00161                         "5" => "donothing", 
00162                         "6" => "donothing", 
00163                         "7" => "donothing");
00164 }
00165 
00166 
00167 function donothing($keywordin)
00168 {
00169         return $keywordin;
00170 }
00171 
00172 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1