ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
All Data Structures Namespaces Files Functions Variables Typedefs Modules Pages
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 7 of file HFile_verify.php.

Member Function Documentation

◆ donothing()

HFile_verify::donothing (   $keywordin)

Definition at line 135 of file HFile_verify.php.

136  {
137  return $keywordin;
138  }

◆ HFile_verify()

HFile_verify::HFile_verify ( )

Definition at line 9 of file HFile_verify.php.

References array.

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

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