|
liblloyal 1.0.0
Composable primitives for llama.cpp inference
|
#include <minja.hpp>
Public Types | |
| enum class | Op { StrConcat , Add , Sub , Mul , MulMul , Div , DivDiv , Mod , Eq , Ne , Lt , Gt , Le , Ge , And , Or , In , NotIn , Is , IsNot } |
Public Types inherited from minja::Expression | |
| using | Parameters = std::vector< std::pair< std::string, std::shared_ptr< Expression > > > |
Public Member Functions | |
| BinaryOpExpr (const Location &loc, std::shared_ptr< Expression > &&l, std::shared_ptr< Expression > &&r, Op o) | |
| Value | do_evaluate (const std::shared_ptr< Context > &context) const override |
Public Member Functions inherited from minja::Expression | |
| Expression (const Location &location) | |
| virtual | ~Expression ()=default |
| Value | evaluate (const std::shared_ptr< Context > &context) const |
Additional Inherited Members | |
Public Attributes inherited from minja::Expression | |
| Location | location |
|
strong |
|
inline |
|
inlineoverridevirtual |
Implements minja::Expression.