|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Query loaded plugin information. More...
Data Structures | |
| struct | LimePluginInfo |
| Plugin information returned by enumeration functions. More... | |
Functions | |
| LimePluginHandle | parser_manager_find_by_name (const ParserManager *mgr, const char *name) |
| Look up a plugin by name. | |
| ParserManagerStatus | parser_manager_get_plugin_info (const ParserManager *mgr, LimePluginHandle handle, LimePluginInfo *info) |
| Get information about a specific plugin. | |
| ParserManagerStatus | parser_manager_list_plugins (const ParserManager *mgr, LimePluginInfo *infos, uint32_t max_count, uint32_t *actual_count) |
| Enumerate all loaded plugins. | |
| uint32_t | parser_manager_plugin_count (const ParserManager *mgr) |
| Get the number of loaded plugins. | |
Query loaded plugin information.
| LimePluginHandle parser_manager_find_by_name | ( | const ParserManager * | mgr, |
| const char * | name | ||
| ) |
#include <include/parser_manager.h>
Look up a plugin by name.
| mgr | The parser manager. |
| name | Plugin name to search for. |
| ParserManagerStatus parser_manager_get_plugin_info | ( | const ParserManager * | mgr, |
| LimePluginHandle | handle, | ||
| LimePluginInfo * | info | ||
| ) |
#include <include/parser_manager.h>
Get information about a specific plugin.
| mgr | The parser manager. | |
| handle | Handle of the plugin to query. | |
| [out] | info | Filled with plugin information on success. |
| ParserManagerStatus parser_manager_list_plugins | ( | const ParserManager * | mgr, |
| LimePluginInfo * | infos, | ||
| uint32_t | max_count, | ||
| uint32_t * | actual_count | ||
| ) |
#include <include/parser_manager.h>
Enumerate all loaded plugins.
Fills the infos array with up to max_count entries.
| mgr | The parser manager. | |
| [out] | infos | Array to fill with plugin information. |
| max_count | Maximum entries to write. | |
| [out] | actual_count | Receives the total number of loaded plugins. If greater than max_count, some entries were omitted. |
| uint32_t parser_manager_plugin_count | ( | const ParserManager * | mgr | ) |
#include <include/parser_manager.h>
Get the number of loaded plugins.
| mgr | The parser manager. |