KbTemplate
Represents a compiled kBars template ready for rendering.
Parsing is deferred until the first call to render; the factory does not throw. The parsed template — and the per-identifier classification and compiled-pointer caches derived from it — is retained, so a single template can be rendered many times (each with its own KbEnvironment) without re-parsing or re-classifying.
Templates are not thread-safe: a single template instance must not be rendered from multiple threads concurrently. Reuse across renders must be sequential — one render call completes before the next begins.
This interface is sealed: instances are obtained via KbTemplate.create and cannot be implemented outside this library. Sealing lets new members be added in future versions without breaking binary compatibility for consumers.
Types
Factory functions for KbTemplate.
Functions
Renders this template using the provided environment.