liblloyal 1.0.0
Composable primitives for llama.cpp inference
Loading...
Searching...
No Matches
minja::FilterExpr Class Reference

#include <minja.hpp>

Inheritance diagram for minja::FilterExpr:
minja::Expression

Public Member Functions

 FilterExpr (const Location &loc, std::vector< std::shared_ptr< Expression > > &&p)
 
Value do_evaluate (const std::shared_ptr< Context > &context) const override
 
void prepend (std::shared_ptr< Expression > &&e)
 
- 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 Types inherited from minja::Expression
using Parameters = std::vector< std::pair< std::string, std::shared_ptr< Expression > > >
 
- Public Attributes inherited from minja::Expression
Location location
 

Detailed Description

Definition at line 1614 of file minja.hpp.

Constructor & Destructor Documentation

◆ FilterExpr()

minja::FilterExpr::FilterExpr ( const Location loc,
std::vector< std::shared_ptr< Expression > > &&  p 
)
inline

Definition at line 1617 of file minja.hpp.

Member Function Documentation

◆ do_evaluate()

Value minja::FilterExpr::do_evaluate ( const std::shared_ptr< Context > &  context) const
inlineoverridevirtual

Implements minja::Expression.

Definition at line 1619 of file minja.hpp.

◆ prepend()

void minja::FilterExpr::prepend ( std::shared_ptr< Expression > &&  e)
inline

Definition at line 1644 of file minja.hpp.


The documentation for this class was generated from the following file: