Spicy
Public Member Functions | Static Public Member Functions | List of all members
hilti::type::Unknown Class Reference

#include <unknown.h>

Inheritance diagram for hilti::type::Unknown:
hilti::TypeBase hilti::type::trait::isAllocable hilti::util::type_erasure::trait::Singleton hilti::NodeBase hilti::trait::isType hilti::trait::isNode hilti::trait::isNode

Public Member Functions

bool operator== (const Unknown &) const
 
auto isEqual (const Type &other) const
 
auto _isResolved (ResolvedState *rstate) 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
 

Static Public Member Functions

static Unknown create (Meta m=Meta())
 

Detailed Description

AST node for an unknown place-holder type.

Member Function Documentation

◆ _isResolved()

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

Implements the Type interface.

◆ create()

static Unknown hilti::type::Unknown::create ( Meta  m = Meta())
inlinestatic

Wrapper around constructor so that we can make it private. Don't use this, use the singleton type::unknown instead.

◆ isEqual()

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

Implements the Type interface.

◆ properties()

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

Implements the Node interface.


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