Metadata for a registered grammar.
More...
#include <entropic/types/config.h>
|
| std::string | key |
| | Unique registry key (e.g., "compactor", "chess_executor")
|
| |
| std::string | gbnf_content |
| | Raw GBNF grammar string.
|
| |
| std::string | source |
| | Origin: "bundled", "file", "runtime", "dynamic".
|
| |
| bool | validated = false |
| | true if grammar has passed validation
|
| |
| std::string | error |
| | Non-empty if validation failed.
|
| |
Metadata for a registered grammar.
Registry entries carry metadata alongside the GBNF content string. Used by GrammarRegistry for introspection and validation status.
- Version
- 1.9.3
Definition at line 80 of file config.h.
◆ error
| std::string entropic::GrammarEntry::error |
Non-empty if validation failed.
Definition at line 85 of file config.h.
◆ gbnf_content
| std::string entropic::GrammarEntry::gbnf_content |
Raw GBNF grammar string.
Definition at line 82 of file config.h.
◆ key
| std::string entropic::GrammarEntry::key |
Unique registry key (e.g., "compactor", "chess_executor")
Definition at line 81 of file config.h.
◆ source
| std::string entropic::GrammarEntry::source |
Origin: "bundled", "file", "runtime", "dynamic".
Definition at line 83 of file config.h.
◆ validated
| bool entropic::GrammarEntry::validated = false |
true if grammar has passed validation
Definition at line 84 of file config.h.
The documentation for this struct was generated from the following file: