|
liblloyal 1.0.0
Composable primitives for llama.cpp inference
|
#include <minja.hpp>
Public Types | |
| enum class | Type { Text , Expression , If , Else , Elif , EndIf , For , EndFor , Generation , EndGeneration , Set , EndSet , Comment , Macro , EndMacro , Filter , EndFilter , Break , Continue } |
Public Member Functions | |
| TemplateToken (Type type, const Location &location, SpaceHandling pre, SpaceHandling post) | |
| virtual | ~TemplateToken ()=default |
Static Public Member Functions | |
| static std::string | typeToString (Type t) |
Public Attributes | |
| Type | type |
| Location | location |
| SpaceHandling | pre_space = SpaceHandling::Keep |
| SpaceHandling | post_space = SpaceHandling::Keep |
|
strong |
|
inline |
|
virtualdefault |
|
inlinestatic |
| SpaceHandling minja::TemplateToken::post_space = SpaceHandling::Keep |
| SpaceHandling minja::TemplateToken::pre_space = SpaceHandling::Keep |