| ParseHarescriptFile |
| |
Parse a library and extract its documentation |
| |
| Library |
 |
wh::filetypes/harescript.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION ParseHarescriptFile (BLOB library,STRING scriptname) |
| |
| Parameters |
 |
| library |
 |
Blob containing the library to parse |
 |
| scriptname |
 |
Name used to refer to the library |
 |
|
| |
| Returns |
 |
Data about the parsed |
| |
The record contains the following cells:
| id |
 |
ID of the parsed script |
 |
| functions |
 |
Record array of functions inside the parsed script |
 |
| loadlibs |
 |
Record array of direct loadlibs of the parsed script |
 |
| errors |
 |
An array of (line,error) records describing any parse errors found |
 |
|
| |