Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
Loading...
Searching...
No Matches
Plugin Capability Flags

Bit flags describing what a plugin supports. More...

Enumerations

enum  LimePluginCaps {
  LIME_CAP_SNAPSHOT = (1u << 0) , LIME_CAP_EXTENSIBLE = (1u << 1) , LIME_CAP_JIT = (1u << 2) , LIME_CAP_INCREMENTAL = (1u << 3) ,
  LIME_CAP_SERIALIZABLE = (1u << 4)
}
 Bit flags describing what a plugin supports. More...
 

Detailed Description

Bit flags describing what a plugin supports.

Enumeration Type Documentation

◆ LimePluginCaps

#include <include/parser_manager.h>

Bit flags describing what a plugin supports.

Returned by the plugin's get_capabilities callback. The manager uses these to validate compatibility and optimize dispatch.

Enumerator
LIME_CAP_SNAPSHOT 

Plugin produces ParserSnapshot objects.

LIME_CAP_EXTENSIBLE 

Plugin supports runtime grammar extension.

LIME_CAP_JIT 

Plugin's snapshots are JIT-compilable.

LIME_CAP_INCREMENTAL 

Plugin can produce incremental snapshots.

LIME_CAP_SERIALIZABLE 

Plugin supports serializing/deserializing state.

Definition at line 117 of file parser_manager.h.