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

syntax_highlight/php/HFile/HFile_lotusscript.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_lotusscript extends HFile{
00006    function HFile_lotusscript(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // LotusScript
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");
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("%REM");
00040 $this->blockcommentoff          = array("%END REM");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "Abs" => "1", 
00046                         "Access" => "1", 
00047                         "ACos" => "1", 
00048                         "ActivateApp" => "1", 
00049                         "Alias" => "1", 
00050                         "And" => "1", 
00051                         "Any" => "1", 
00052                         "Append" => "1", 
00053                         "As" => "1", 
00054                         "Asc" => "1", 
00055                         "ASin" => "1", 
00056                         "Atn" => "1", 
00057                         "Atn2" => "1", 
00058                         "Base" => "1", 
00059                         "Beep" => "1", 
00060                         "Bin" => "1", 
00061                         "Bin$" => "1", 
00062                         "Binary" => "1", 
00063                         "Bind" => "1", 
00064                         "ByVal" => "1", 
00065                         "Call" => "1", 
00066                         "CCur" => "1", 
00067                         "CDat" => "1", 
00068                         "CDbl" => "1", 
00069                         "ChDir" => "1", 
00070                         "ChDrive" => "1", 
00071                         "Chr" => "1", 
00072                         "Chr$" => "1", 
00073                         "CInt" => "1", 
00074                         "Class" => "1", 
00075                         "CLng" => "1", 
00076                         "Close" => "1", 
00077                         "Command" => "1", 
00078                         "Command$" => "1", 
00079                         "Compare" => "1", 
00080                         "Const" => "1", 
00081                         "Cos" => "1", 
00082                         "CSng" => "1", 
00083                         "CStr" => "1", 
00084                         "CurDir" => "1", 
00085                         "CurDir$" => "1", 
00086                         "CurDrive" => "1", 
00087                         "CurDrive$" => "1", 
00088                         "CVar" => "1", 
00089                         "DataType" => "1", 
00090                         "Date" => "1", 
00091                         "Date$" => "1", 
00092                         "DateNumber" => "1", 
00093                         "DateValue" => "1", 
00094                         "Day" => "1", 
00095                         "Declare" => "1", 
00096                         "DefCur" => "1", 
00097                         "DefDbl" => "1", 
00098                         "DefInt" => "1", 
00099                         "DefLng" => "1", 
00100                         "DefSng" => "1", 
00101                         "DefStr" => "1", 
00102                         "DefVar" => "1", 
00103                         "Delete" => "1", 
00104                         "Dim" => "1", 
00105                         "Dir" => "1", 
00106                         "Dir$" => "1", 
00107                         "Environ" => "1", 
00108                         "Environ$" => "1", 
00109                         "EOF" => "1", 
00110                         "Eqv" => "1", 
00111                         "Erase" => "1", 
00112                         "Erl" => "1", 
00113                         "Err" => "1", 
00114                         "Error" => "1", 
00115                         "Error$" => "1", 
00116                         "Evaluate" => "1", 
00117                         "Event" => "1", 
00118                         "Execute" => "1", 
00119                         "Exit" => "1", 
00120                         "Exp" => "1", 
00121                         "FALSE" => "1", 
00122                         "FileAttr" => "1", 
00123                         "FileCopy" => "1", 
00124                         "FileDateTime" => "1", 
00125                         "FileLen" => "1", 
00126                         "Fix" => "1", 
00127                         "Format" => "1", 
00128                         "Format$" => "1", 
00129                         "Fraction" => "1", 
00130                         "FreeFile" => "1", 
00131                         "FromFunction" => "1", 
00132                         "Get" => "1", 
00133                         "GetFileAttr" => "1", 
00134                         "Hex" => "1", 
00135                         "Hex$" => "1", 
00136                         "Hour" => "1", 
00137                         "IMEStatus" => "1", 
00138                         "Imp" => "1", 
00139                         "In" => "1", 
00140                         "Input" => "1", 
00141                         "Input$" => "1", 
00142                         "InputB" => "1", 
00143                         "InputB$" => "1", 
00144                         "InputBox" => "1", 
00145                         "InputBox$" => "1", 
00146                         "InputBP" => "1", 
00147                         "InputBP$" => "1", 
00148                         "InStr" => "1", 
00149                         "InStrB" => "1", 
00150                         "InStrBP" => "1", 
00151                         "Int" => "1", 
00152                         "Is" => "1", 
00153                         "IsArray" => "1", 
00154                         "IsDate" => "1", 
00155                         "IsElement" => "1", 
00156                         "IsEmpty" => "1", 
00157                         "IsList" => "1", 
00158                         "IsNull" => "1", 
00159                         "IsNumeric" => "1", 
00160                         "IsObject" => "1", 
00161                         "IsScalar" => "1", 
00162                         "IsUnknown" => "1", 
00163                         "Kill" => "1", 
00164                         "LBound" => "1", 
00165                         "LCase" => "1", 
00166                         "LCase$" => "1", 
00167                         "Left" => "1", 
00168                         "Left$" => "1", 
00169                         "LeftB" => "1", 
00170                         "LeftB$" => "1", 
00171                         "LeftBP" => "1", 
00172                         "LeftBP$" => "1", 
00173                         "Len" => "1", 
00174                         "LenB" => "1", 
00175                         "LenBP" => "1", 
00176                         "Let" => "1", 
00177                         "Lib" => "1", 
00178                         "Like" => "1", 
00179                         "Line" => "1", 
00180                         "List" => "1", 
00181                         "ListTag" => "1", 
00182                         "LMBCS" => "1", 
00183                         "Loc" => "1", 
00184                         "Lock" => "1", 
00185                         "LOF" => "1", 
00186                         "Log" => "1", 
00187                         "Loop" => "1", 
00188                         "LSet" => "1", 
00189                         "LTrim" => "1", 
00190                         "LTrim$" => "1", 
00191                         "Me" => "1", 
00192                         "MessageBox" => "1", 
00193                         "Mid" => "1", 
00194                         "Mid$" => "1", 
00195                         "MidB" => "1", 
00196                         "MidB$" => "1", 
00197                         "Minute" => "1", 
00198                         "MkDir" => "1", 
00199                         "Mod" => "1", 
00200                         "Month" => "1", 
00201                         "Name" => "1", 
00202                         "New" => "1", 
00203                         "NoCase" => "1", 
00204                         "NoPitch" => "1", 
00205                         "Not" => "1", 
00206                         "NOTHING" => "1", 
00207                         "Now" => "1", 
00208                         "NULL" => "1", 
00209                         "Oct" => "1", 
00210                         "Oct$" => "1", 
00211                         "On" => "1", 
00212                         "Open" => "1", 
00213                         "Option" => "1", 
00214                         "Or" => "1", 
00215                         "Output" => "1", 
00216                         "PI" => "1", 
00217                         "Pitch" => "1", 
00218                         "Preserve" => "1", 
00219                         "Print" => "1", 
00220                         "Private" => "1", 
00221                         "Property" => "1", 
00222                         "Public" => "1", 
00223                         "Put" => "1", 
00224                         "Random" => "1", 
00225                         "Randomize" => "1", 
00226                         "Read" => "1", 
00227                         "ReDim" => "1", 
00228                         "Rem" => "1", 
00229                         "Remove" => "1", 
00230                         "Reset" => "1", 
00231                         "Resume" => "1", 
00232                         "Return" => "1", 
00233                         "Right" => "1", 
00234                         "Right$" => "1", 
00235                         "RightB" => "1", 
00236                         "RightB$" => "1", 
00237                         "RightBP" => "1", 
00238                         "RightBP$" => "1", 
00239                         "RmDir" => "1", 
00240                         "Rnd" => "1", 
00241                         "Round" => "1", 
00242                         "RSet" => "1", 
00243                         "RTrim" => "1", 
00244                         "RTrim$" => "1", 
00245                         "Second" => "1", 
00246                         "Seek" => "1", 
00247                         "SendKeys" => "1", 
00248                         "Set" => "1", 
00249                         "SetFileAttr" => "1", 
00250                         "Sgn" => "1", 
00251                         "Shared" => "1", 
00252                         "Shell" => "1", 
00253                         "Sin" => "1", 
00254                         "Space" => "1", 
00255                         "Space$" => "1", 
00256                         "Spc" => "1", 
00257                         "Sqr" => "1", 
00258                         "Static" => "1", 
00259                         "Step" => "1", 
00260                         "Stop" => "1", 
00261                         "Str" => "1", 
00262                         "Str$" => "1", 
00263                         "StrCompare" => "1", 
00264                         "String$" => "1", 
00265                         "Sub" => "1", 
00266                         "Tab" => "1", 
00267                         "Tan" => "1", 
00268                         "Time" => "1", 
00269                         "Time$" => "1", 
00270                         "TimeNumber" => "1", 
00271                         "Timer" => "1", 
00272                         "TimeValue" => "1", 
00273                         "To" => "1", 
00274                         "Today" => "1", 
00275                         "Trim" => "1", 
00276                         "Trim$" => "1", 
00277                         "TRUE" => "1", 
00278                         "Type" => "1", 
00279                         "TypeName" => "1", 
00280                         "UBound" => "1", 
00281                         "UCase" => "1", 
00282                         "UCase$" => "1", 
00283                         "UChr" => "1", 
00284                         "UChr$" => "1", 
00285                         "Uni" => "1", 
00286                         "Unicode" => "1", 
00287                         "Unlock" => "1", 
00288                         "Use" => "1", 
00289                         "UseLSX" => "1", 
00290                         "UString" => "1", 
00291                         "UString$" => "1", 
00292                         "Val" => "1", 
00293                         "With" => "1", 
00294                         "Write" => "1", 
00295                         "Xor" => "1", 
00296                         "Year" => "1", 
00297                         "Yield" => "1", 
00298                         "Currency" => "2", 
00299                         "Double" => "2", 
00300                         "Integer" => "2", 
00301                         "Long" => "2", 
00302                         "Single" => "2", 
00303                         "String" => "2", 
00304                         "Variant" => "2", 
00305                         "Case" => "3", 
00306                         "Do" => "3", 
00307                         "Else" => "3", 
00308                         "End" => "3", 
00309                         "ElseIf" => "3", 
00310                         "For" => "3", 
00311                         "Forall" => "3", 
00312                         "If" => "3", 
00313                         "Next" => "3", 
00314                         "Select" => "3", 
00315                         "Then" => "3", 
00316                         "Until" => "3", 
00317                         "Wend" => "3", 
00318                         "While" => "3", 
00319                         "GoSub" => "3", 
00320                         "GoTo" => "3", 
00321                         "NotesACLNotesACLEntry" => "4", 
00322                         "NotesAgent" => "4", 
00323                         "NotesDatabase" => "4", 
00324                         "NotesDateRange" => "4", 
00325                         "NotesDateTime" => "4", 
00326                         "NotesDbDirectory" => "4", 
00327                         "NotesDocument" => "4", 
00328                         "NotesDocumentCollection" => "4", 
00329                         "NotesEmbeddedObject" => "4", 
00330                         "NotesForm" => "4", 
00331                         "NotesInternational" => "4", 
00332                         "NotesItem" => "4", 
00333                         "NotesLog" => "4", 
00334                         "NotesName" => "4", 
00335                         "NotesNewsLetter" => "4", 
00336                         "NotesRegistration" => "4", 
00337                         "NotesRichTextItem" => "4", 
00338                         "NotesRichTextStyle" => "4", 
00339                         "NotesSession" => "4", 
00340                         "NotesTimer" => "4", 
00341                         "NotesView" => "4", 
00342                         "NotesViewColumn" => "4", 
00343                         "NotesUIDatabase" => "4", 
00344                         "NotesUIDocument" => "4", 
00345                         "NotesUIView" => "4", 
00346                         "NotesUIWorkspace" => "4", 
00347                         "Navigator" => "4", 
00348                         "notesaclnotesaclentry" => "4", 
00349                         "notesagent" => "4", 
00350                         "notesdatabase" => "4", 
00351                         "notesdaterange" => "4", 
00352                         "notesdatetime" => "4", 
00353                         "notesdbdirectory" => "4", 
00354                         "notesdocument" => "4", 
00355                         "notesdocumentcollection" => "4", 
00356                         "notesembeddedobject" => "4", 
00357                         "notesform" => "4", 
00358                         "notesinternational" => "4", 
00359                         "notesitem" => "4", 
00360                         "noteslog" => "4", 
00361                         "notesname" => "4", 
00362                         "notesnewsletter" => "4", 
00363                         "notesregistration" => "4", 
00364                         "notesrichtextitem" => "4", 
00365                         "notesrichtextstyle" => "4", 
00366                         "notessession" => "4", 
00367                         "notestimer" => "4", 
00368                         "notesview" => "4", 
00369                         "notesviewcolumn" => "4", 
00370                         "notesuidatabase" => "4", 
00371                         "notesuidocument" => "4", 
00372                         "notesuiview" => "4", 
00373                         "notesuiworkspace" => "4", 
00374                         "navigator" => "4");
00375 
00376 // Special extensions
00377 
00378 // Each category can specify a PHP function that returns an altered
00379 // version of the keyword.
00380         
00381         
00382 
00383 $this->linkscripts      = array(
00384                         "1" => "donothing", 
00385                         "2" => "donothing", 
00386                         "3" => "donothing", 
00387                         "4" => "donothing");
00388 }
00389 
00390 
00391 function donothing($keywordin)
00392 {
00393         return $keywordin;
00394 }
00395 
00396 }?>

Generated on Fri Dec 13 2013 13:52:16 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1