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

#include <minja.hpp>

Inheritance diagram for minja::CallExpr:
minja::Expression

Public Member Functions

 CallExpr (const Location &loc, std::shared_ptr< Expression > &&obj, ArgumentsExpression &&a)
 
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
 

Public Attributes

std::shared_ptr< Expressionobject
 
ArgumentsExpression args
 
- 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 1597 of file minja.hpp.

Constructor & Destructor Documentation

◆ CallExpr()

minja::CallExpr::CallExpr ( const Location loc,
std::shared_ptr< Expression > &&  obj,
ArgumentsExpression &&  a 
)
inline

Definition at line 1601 of file minja.hpp.

Member Function Documentation

◆ do_evaluate()

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

Implements minja::Expression.

Definition at line 1603 of file minja.hpp.

Member Data Documentation

◆ args

ArgumentsExpression minja::CallExpr::args

Definition at line 1600 of file minja.hpp.

◆ object

std::shared_ptr<Expression> minja::CallExpr::object

Definition at line 1599 of file minja.hpp.


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