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

#include <minja.hpp>

Public Member Functions

bool has_named (const std::string &name)
 
Value get_named (const std::string &name)
 
bool empty ()
 
void expectArgs (const std::string &method_name, const std::pair< size_t, size_t > &pos_count, const std::pair< size_t, size_t > &kw_count)
 

Public Attributes

std::vector< Valueargs
 
std::vector< std::pair< std::string, Value > > kwargs
 

Detailed Description

Definition at line 512 of file minja.hpp.

Member Function Documentation

◆ empty()

bool minja::ArgumentsValue::empty ( )
inline

Definition at line 530 of file minja.hpp.

◆ expectArgs()

void minja::ArgumentsValue::expectArgs ( const std::string &  method_name,
const std::pair< size_t, size_t > &  pos_count,
const std::pair< size_t, size_t > &  kw_count 
)
inline

Definition at line 534 of file minja.hpp.

◆ get_named()

Value minja::ArgumentsValue::get_named ( const std::string &  name)
inline

Definition at line 523 of file minja.hpp.

◆ has_named()

bool minja::ArgumentsValue::has_named ( const std::string &  name)
inline

Definition at line 516 of file minja.hpp.

Member Data Documentation

◆ args

std::vector<Value> minja::ArgumentsValue::args

Definition at line 513 of file minja.hpp.

◆ kwargs

std::vector<std::pair<std::string, Value> > minja::ArgumentsValue::kwargs

Definition at line 514 of file minja.hpp.


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