Spicy
Public Member Functions | List of all members
hilti::type::Function Class Reference
Inheritance diagram for hilti::type::Function:
hilti::TypeBase hilti::type::trait::isParameterized hilti::NodeBase hilti::trait::isType hilti::trait::isNode hilti::trait::isNode

Public Member Functions

 Function (Wildcard, Meta m=Meta())
 
 Function (function::Result result, const std::vector< function::Parameter > &params, function::Flavor flavor=function::Flavor::Standard, Meta m=Meta())
 
const auto & result () const
 
auto parameters () const
 
auto parameterRefs () const
 
auto flavor () const
 
void setResultType (Type t)
 
bool operator== (const Function &other) const
 
auto isEqual (const Type &other) const
 
auto _isResolved (ResolvedState *rstate) const
 
auto typeParameters () const
 
auto isWildcard () const
 
auto properties () const
 
- Public Member Functions inherited from hilti::NodeBase
 NodeBase (Meta meta)
 
 NodeBase (std::vector< Node > children, Meta meta)
 
template<typename T >
const T & child (int i) const
 
template<typename T >
void assertChildIsA (int i)
 
template<typename T >
auto children (int begin, int end) const
 
auto childRefs (int begin, int end)
 
template<typename T >
hilti::node::Set< T > childrenOfType () const
 
template<typename T >
std::vector< NodeRefchildRefsOfType () const
 
void addChild (Node n)
 
const auto & children () const
 
auto & children ()
 
auto & meta () const
 
void setMeta (Meta m)
 
bool pruneWalk () const
 

Member Function Documentation

◆ _isResolved()

auto hilti::type::Function::_isResolved ( ResolvedState *  rstate) const
inline

Implements the Type interface.

◆ isEqual()

auto hilti::type::Function::isEqual ( const Type other) const
inline

Implements the Type interface.

◆ isWildcard()

auto hilti::type::Function::isWildcard ( ) const
inline

Implements the Type interface.

◆ properties()

auto hilti::type::Function::properties ( ) const
inline

Implements the Node interface.

◆ typeParameters()

auto hilti::type::Function::typeParameters ( ) const
inline

Implements the Type interface.


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