ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_fas Class Reference
+ Inheritance diagram for HFile_fas:
+ Collaboration diagram for HFile_fas:

Public Member Functions

 HFile_fas ()
 
 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_fas.php.

Member Function Documentation

◆ donothing()

HFile_fas::donothing (   $keywordin)

Definition at line 168 of file HFile_fas.php.

169  {
170  return $keywordin;
171  }

◆ HFile_fas()

HFile_fas::HFile_fas ( )

Definition at line 9 of file HFile_fas.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Flash ActionScript
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("else\"\")\"\"(\"\"1\"\"2\"\"3\"\"4\"\"5\"\"6\"\"7\"\"8\"\"9\"\"0\"\"\"");
32  $this->unindent = array("end", "else", "#");
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  "all" => "1",
50  "begin" => "1",
51  "Comment" => "1",
52  "Call" => "1",
53  "Clip" => "1",
54  "Command" => "1",
55  "Duplicate" => "1",
56  "Drag" => "2",
57  "End" => "1",
58  "Else" => "1",
59  "FS" => "1",
60  "Frame" => "1",
61  "get" => "1",
62  "go" => "1",
63  "Getproperty" => "1",
64  "High" => "2",
65  "If" => "1",
66  "Loop" => "1",
67  "Load" => "1",
68  "Loaded" => "1",
69  "Movie" => "1",
70  "Next" => "1",
71  "Play" => "1",
72  "Property" => "1",
73  "Previous" => "1",
74  "Quality" => "1",
75  "Remove" => "1",
76  "Set" => "1",
77  "Start" => "1",
78  "Stop" => "1",
79  "Sounds" => "1",
80  "sp" => "1",
81  "sv" => "1",
82  "Trace" => "1",
83  "Toggle" => "1",
84  "tell" => "1",
85  "Target" => "1",
86  "to" => "1",
87  "URL" => "1",
88  "Variable" => "1",
89  "While" => "1",
90  "Alpha" => "2",
91  "B=" => "2",
92  "buffer" => "2",
93  "Over" => "2",
94  "Out" => "2",
95  "focus" => "2",
96  "Key:" => "2",
97  "L=" => "2",
98  "lockcenter" => "2",
99  "Name" => "2",
100  "Outside" => "2",
101  "Press" => "2",
102  "Position" => "2",
103  "Rotation" => "2",
104  "R" => "2",
105  "Release" => "2",
106  "Roll" => "2",
107  "rectangle" => "2",
108  "Show" => "2",
109  "Sound" => "2",
110  "Scale" => "2",
111  "T=" => "2",
112  "time" => "2",
113  "vars" => "2",
114  "visibility" => "2",
115  "window" => "2",
116  "X" => "2",
117  "Y" => "2",
118  "_currentframe" => "3",
119  "_x" => "3",
120  "_y" => "3",
121  "_width" => "3",
122  "_height" => "3",
123  "_rotation" => "3",
124  "_target" => "3",
125  "_name" => "3",
126  "_xscale" => "3",
127  "_yscale" => "3",
128  "_droptarget" => "3",
129  "_visible" => "3",
130  "_alpha" => "3",
131  "_framesloaded" => "3",
132  "_totalframes" => "3",
133  "and" => "3",
134  "Chr" => "3",
135  "Eval" => "3",
136  "eq" => "3",
137  "False" => "3",
138  "GetTimer" => "3",
139  "ge" => "3",
140  "gt" => "3",
141  "Int" => "3",
142  "Length" => "3",
143  "le" => "3",
144  "lt" => "3",
145  "Newline" => "3",
146  "ne" => "3",
147  "not" => "3",
148  "Ord" => "3",
149  "or" => "3",
150  "Random" => "3",
151  "Substring" => "3",
152  "True" => "3");
153 
154  // Special extensions
155 
156  // Each category can specify a PHP function that returns an altered
157  // version of the keyword.
158 
159 
160 
161  $this->linkscripts = array(
162  "1" => "donothing",
163  "2" => "donothing",
164  "3" => "donothing");
165  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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