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