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

#include <minja.hpp>

Inheritance diagram for minja::ArrayExpr:
minja::Expression

Public Member Functions

 ArrayExpr (const Location &loc, std::vector< 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 1171 of file minja.hpp.

Constructor & Destructor Documentation

◆ ArrayExpr()

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

Definition at line 1174 of file minja.hpp.

Member Function Documentation

◆ do_evaluate()

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

Implements minja::Expression.

Definition at line 1176 of file minja.hpp.


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