The root namespace for all Vercengen classes and options.
Namespaces
Methods
(static) clear()
Clears all Vercengen components from both state and DOM.
(static) gc()
Performs garbage collection when elements are detached.
- Source:
(static) getFilesInFolder(arg0_folder_path, arg1_evaluated_set) → {Array.<string>}
Returns all non-evaluated files in a folder, so long as an evaluated set is provided.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_folder_path |
string
|
|
arg1_evaluated_set |
Set.<string>
|
Returns:
- Type:
-
Array.<string>
(static) getImportFiles(patterns) → {Array.<string>}
Returns an Array
Parameters:
| Name | Type | Description |
|---|---|---|
patterns |
Array.<string>
|
The list of patterns to resolve. |
(static) getWildcardsInFolder(arg0_folder_path, arg1_wildcard_pattern) → {Array.<string>}
Returns the absolute file paths of all wildcards within a given folder.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_folder_path |
string
|
|
arg1_wildcard_pattern |
string
|
Returns:
- Type:
-
Array.<string>
(static) initialise()
Initialises Vercengen and associated UF files.
(static) initialiseIPC(arg0_optionsopt)
Initialises IPC handlers.
ontology:initialise - Initialises Ontology streaming.
- ontology:stream-batch - DB sends batch to render.
- ontology:stream-done - Marks all streaming as finished (loaded into memory).
- ontology:stream-next - Render requests batch from DB.
Parameters:
| Name | Type | Attributes | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_options |
Object
|
<optional> |
|
(static) start()
Initialises a Vercengen app, alongside necessary UF imports.
arg0_options: Object
.do_not_import_UF: boolean - Whether to refuse UF imports unrelated to Vercengen startup functions..load_files: Array<string> - The sequence of files to load.!should be used as an exclusion prefix, whilst*functions as a wildcard pattern..is_browser=true: boolean - Whether the imports are for the Browser/Electron. Imports are assumed to be eval/Node.js otherwise..is_node=false: boolean - Whether the imports are for Node.js. Overridden by.is_browser. Inputs are assumed to be for eval if false..ontology_function: function(arg0_ontologies:Array<Ontology>) - The function to execute once Ontology instances are loaded from DBs..special_function: function - The function to execute upon startup and Vercengen initialisation.
Returns:
Array