Module optional

Module optional 

Source
Expand description

Documentation for functions which are not necessary for a basic translator but can do more advanced things.

Functionsยง

new
The new function is used to initialize a plugin. It is called once when the plugin is loaded
reload
Called every time Surfer reloads the waveform. This can be used to re-run any initialization that depends on which waveform is loaded.
set_wave_source
This is called whenever the wave source changes and can be used by the plugin to change its behaviour depending on the currently loaded waveform.
variable_name_info
Can be used to convert a variable name into a name that is more descriptive. See [VariableNameInfo] and [TrueName] for details on the possible output.