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

Public Member Functions

 HFile_verify ()
 
 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_verify.php.

Member Function Documentation

◆ donothing()

HFile_verify::donothing (   $keywordin)

Definition at line 131 of file HFile_verify.php.

132 {
133  return $keywordin;
134 }

◆ HFile_verify()

HFile_verify::HFile_verify ( )

Definition at line 6 of file HFile_verify.php.

References array.

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Verilog
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array("begin");
28 $this->unindent = array("end");
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("//");
39 $this->blockcommenton = array("/*");
40 $this->blockcommentoff = array("*/");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "begin" => "1",
46  "case" => "1",
47  "else" => "1",
48  "end" => "1",
49  "endcase" => "1",
50  "for" => "1",
51  "if" => "1",
52  "join" => "1",
53  "memory" => "1",
54  "negedge" => "1",
55  "posedge" => "1",
56  "pullup" => "1",
57  "pulldown" => "1",
58  "while" => "1",
59  "`define" => "2",
60  "`include" => "2",
61  "`timescale" => "2",
62  "`ifdef" => "2",
63  "`else" => "2",
64  "`endif" => "2",
65  "\'b" => "2",
66  "\'d" => "2",
67  "\'h" => "2",
68  "$display" => "2",
69  "$monitor" => "2",
70  "$fopen" => "2",
71  "$fclose" => "2",
72  "$fdisplay" => "2",
73  "$dumfile" => "2",
74  "$dumpvars" => "2",
75  "$finish" => "2",
76  "$stop" => "2",
77  "$setup" => "2",
78  "$hold" => "2",
79  "$readmemh" => "2",
80  "deassign" => "2",
81  "endfunction" => "2",
82  "endmodule" => "2",
83  "endspecify" => "2",
84  "endtask" => "2",
85  "fork" => "2",
86  "function" => "2",
87  "initial" => "2",
88  "module" => "2",
89  "reg" => "2",
90  "repeat" => "2",
91  "specify" => "2",
92  "task" => "2",
93  "wait" => "2",
94  "wire" => "2",
95  "+" => "3",
96  "-" => "3",
97  "*" => "3",
98  "//" => "3",
99  "/" => "3",
100  ":" => "3",
101  "=" => "3",
102  "~" => "3",
103  "%" => "3",
104  "&" => "3",
105  ">" => "3",
106  "<" => "3",
107  "^" => "3",
108  "!" => "3",
109  "|" => "3",
110  "always" => "3",
111  "assign" => "3",
112  "input" => "3",
113  "inout" => "3",
114  "or" => "3",
115  "output" => "3");
116 
117 // Special extensions
118 
119 // Each category can specify a PHP function that returns an altered
120 // version of the keyword.
121 
122 
123 
124 $this->linkscripts = array(
125  "1" => "donothing",
126  "2" => "donothing",
127  "3" => "donothing");
128 }
Create styles array
The data for the language used.
Definition: HFile.php:21

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