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

#include <minja.hpp>

Inheritance diagram for minja::SliceExpr:
minja::Expression

Public Member Functions

 SliceExpr (const Location &loc, std::shared_ptr< Expression > &&s, std::shared_ptr< Expression > &&e, std::shared_ptr< Expression > &&st=nullptr)
 
Value do_evaluate (const std::shared_ptr< 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
 

Public Attributes

std::shared_ptr< Expressionstart
 
std::shared_ptr< Expressionend
 
std::shared_ptr< Expressionstep
 
- Public Attributes inherited from minja::Expression
Location location
 

Additional Inherited Members

- Public Types inherited from minja::Expression
using Parameters = std::vector< std::pair< std::string, std::shared_ptr< Expression > > >
 

Detailed Description

Definition at line 1202 of file minja.hpp.

Constructor & Destructor Documentation

◆ SliceExpr()

minja::SliceExpr::SliceExpr ( const Location loc,
std::shared_ptr< Expression > &&  s,
std::shared_ptr< Expression > &&  e,
std::shared_ptr< Expression > &&  st = nullptr 
)
inline

Definition at line 1205 of file minja.hpp.

Member Function Documentation

◆ do_evaluate()

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

Implements minja::Expression.

Definition at line 1207 of file minja.hpp.

Member Data Documentation

◆ end

std::shared_ptr<Expression> minja::SliceExpr::end

Definition at line 1204 of file minja.hpp.

◆ start

std::shared_ptr<Expression> minja::SliceExpr::start

Definition at line 1204 of file minja.hpp.

◆ step

std::shared_ptr<Expression> minja::SliceExpr::step

Definition at line 1204 of file minja.hpp.


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