ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_mfl.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4  require_once("$BEAUT_PATH/Beautifier/HFile.php");
5 
6  class HFile_MFL extends HFile
7  {
8  function HFile_MFL()
9  {
10  $this->HFile(); // Call the HFile constructor.
11  $this->colours = array("blue", "brown", "red");
12  $this->delimiters = array(" ", " ", "(", ")", ".");
13  $this->keywords = array(
14  "import" => "1",
15  "function" => "1",
16  "forall" => "1",
17  "return" => "2",
18  "print" => "2",
19  "+" => "3",
20  "=" => "3"
21  );
22  # $this->stringchars = array("\"", "'");
23  # $this->escchar = "\\";
24  }
25  }
26 ?>