Fabrique

A build language for complex systems

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fabrique::ast::HasParameters Class Reference

A mixin type for something that can be called with parameters. More...

#include <HasParameters.h>

Inheritance diagram for fabrique::ast::HasParameters:
fabrique::ast::Action fabrique::ast::Function

Public Types

using ParamIterator = UniqPtrVec< Parameter >::const_iterator
 

Public Member Functions

 HasParameters (UniqPtrVec< Parameter > &)
 
const UniqPtrVec< Parameter > & parameters () const
 
const std::set< std::string > & parameterNames () const
 
void CheckArguments (const UniqPtrVec< Argument > &, const SourceRange &) const
 
ParamIterator begin () const
 
ParamIterator end () const
 
template<class T >
StringMap< const T * > NameArguments (const UniqPtrVec< T > &v) const
 Name all of the arguments in v according to the rules for positional and keyword arguments.
 

Detailed Description

A mixin type for something that can be called with parameters.

Definition at line 57 of file HasParameters.h.


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