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

#include <minja.hpp>

Inheritance diagram for minja::DictExpr:
minja::Expression

Public Member Functions

 DictExpr (const Location &loc, std::vector< std::pair< std::shared_ptr< Expression >, std::shared_ptr< Expression > > > &&e)
 
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 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 1186 of file minja.hpp.

Constructor & Destructor Documentation

◆ DictExpr()

minja::DictExpr::DictExpr ( const Location loc,
std::vector< std::pair< std::shared_ptr< Expression >, std::shared_ptr< Expression > > > &&  e 
)
inline

Definition at line 1189 of file minja.hpp.

Member Function Documentation

◆ do_evaluate()

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

Implements minja::Expression.

Definition at line 1191 of file minja.hpp.


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