ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
HFile_ugapt Class Reference
+ Inheritance diagram for HFile_ugapt:
+ Collaboration diagram for HFile_ugapt:

Public Member Functions

 HFile_ugapt ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_ugapt.php.

Member Function Documentation

◆ donothing()

HFile_ugapt::donothing (   $keywordin)

Definition at line 100 of file HFile_ugapt.php.

101 {
102  return $keywordin;
103 }

◆ HFile_ugapt()

HFile_ugapt::HFile_ugapt ( )

Definition at line 6 of file HFile_ugapt.php.

References array.

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // UG/APT Source
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "brown", "blue", "purple", "gray", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("PPR");
39 $this->blockcommenton = array("$");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "CALL" => "1",
46  "CHOOSE" => "1",
47  "GPOS" => "1",
48  "IDENT" => "1",
49  "LOAD" => "1",
50  "MACRO" => "1",
51  "PARAM" => "1",
52  "TERMAC" => "1",
53  "TEXT" => "1",
54  "RAPID" => "2",
55  "AUXFUN" => "4",
56  "INSERT" => "4",
57  "IF" => "4",
58  "JUMP" => "4",
59  "MODE" => "4",
60  "PLABEL" => "4",
61  "POSTN" => "4",
62  "PREFUN" => "4",
63  "COPY" => "5",
64  "INDEX" => "5",
65  "OPSKIP" => "5",
66  "TRACUT" => "5",
67  "TRANS" => "5",
68  "APPEND" => "6",
69  "CREATE" => "6",
70  "DELIM" => "6",
71  "FILE" => "6",
72  "FETCH" => "6",
73  "FPRINT" => "6",
74  "FTERM" => "6",
75  "READ" => "6",
76  "RESET" => "6",
77  "WRITE" => "6",
78  "LOADTL" => "7",
79  "COOLNT" => "8",
80  "SPINDL" => "8");
81 
82 // Special extensions
83 
84 // Each category can specify a PHP function that returns an altered
85 // version of the keyword.
86 
87 
88 
89 $this->linkscripts = array(
90  "1" => "donothing",
91  "2" => "donothing",
92  "4" => "donothing",
93  "5" => "donothing",
94  "6" => "donothing",
95  "7" => "donothing",
96  "8" => "donothing");
97 }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: