atlas  0.6
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
atlas::interpreter::builtin_value< variadic > Struct Template Reference

#include <axis.h>

Inheritance diagram for atlas::interpreter::builtin_value< variadic >:
Inheritance graph
[legend]
Collaboration diagram for atlas::interpreter::builtin_value< variadic >:
Collaboration graph
[legend]

Public Member Functions

 builtin_value (wrapper_function v, const std::string &n)
 
virtual ~builtin_value () nothing_new_here
 
virtual void print (std::ostream &out) const
 
virtual void apply (expression_base::level l) const
 
virtual expression_base::level argument_policy () const
 
virtual void report_origin (std::ostream &o) const
 
virtual expression_ptr build_call (const shared_function &owner, const std::string &name, expression_ptr &&arg, const source_location &loc) const
 
virtual builtin_valueclone () const
 
- Public Member Functions inherited from atlas::interpreter::function_base
 function_base ()
 
virtual ~function_base () nothing_new_here
 
- Public Member Functions inherited from atlas::interpreter::value_base
 value_base ()
 
virtual ~value_base ()=0
 
value_baseoperator= (const value_base &x)=delete
 

Static Public Member Functions

static const char * name ()
 
- Static Public Member Functions inherited from atlas::interpreter::value_base
static const char * name ()
 

Public Attributes

wrapper_function val
 
std::string print_name
 

Private Member Functions

 builtin_value (const builtin_value &v)=default
 

Additional Inherited Members

- Protected Member Functions inherited from atlas::interpreter::value_base
 value_base (const value_base &x)=default
 

Constructor & Destructor Documentation

template<bool variadic>
atlas::interpreter::builtin_value< variadic >::builtin_value ( wrapper_function  v,
const std::string n 
)
inline
template<bool variadic>
virtual atlas::interpreter::builtin_value< variadic >::~builtin_value ( )
template<bool variadic>
atlas::interpreter::builtin_value< variadic >::builtin_value ( const builtin_value< variadic > &  v)
privatedefault

Member Function Documentation

template<bool variadic>
virtual void atlas::interpreter::builtin_value< variadic >::apply ( expression_base::level  l) const
inlinevirtual
template<bool variadic>
virtual expression_base::level atlas::interpreter::builtin_value< variadic >::argument_policy ( ) const
inlinevirtual
template<bool variadic>
expression_ptr atlas::interpreter::builtin_value< variadic >::build_call ( const shared_function owner,
const std::string name,
expression_ptr &&  arg,
const source_location loc 
) const
virtual
template<bool variadic>
virtual builtin_value* atlas::interpreter::builtin_value< variadic >::clone ( ) const
inlinevirtual

Reimplemented from atlas::interpreter::value_base.

template<bool variadic>
static const char* atlas::interpreter::builtin_value< variadic >::name ( )
inlinestatic
template<bool variadic>
virtual void atlas::interpreter::builtin_value< variadic >::print ( std::ostream &  out) const
inlinevirtual
template<bool variadic>
virtual void atlas::interpreter::builtin_value< variadic >::report_origin ( std::ostream &  o) const
inlinevirtual

Member Data Documentation

template<bool variadic>
std::string atlas::interpreter::builtin_value< variadic >::print_name
template<bool variadic>
wrapper_function atlas::interpreter::builtin_value< variadic >::val

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