7 #include <hilti/ast/type.h> 8 #include <hilti/ast/types/unknown.h> 28 Type
containerType()
const {
return _wildcard ? type::unknown : type::effectiveType(child<Type>(0)); }
34 auto isEqual(
const Type& other)
const {
return node::isEqual(
this, other); }
49 bool _wildcard =
false;
67 auto isEqual(
const Type& other)
const {
return node::isEqual(
this, other); }
69 Type
elementType()
const {
return _wildcard ? type::unknown : type::effectiveType(child<Type>(0)); }
79 bool operator==(
const Set& other)
const {
return elementType() == other.
elementType(); }
82 bool _wildcard =
false;
auto isWildcard() const
Definition: set.h:40
auto & childs() const
Definition: node.h:445
auto isEqual(const Type &other) const
Definition: set.h:34
const Node none
Definition: node.cc:12
Type elementType() const
Definition: set.h:69
auto typeParameters() const
Definition: set.h:75
auto properties() const
Definition: set.h:77
auto isEqual(const Type &other) const
Definition: set.h:67
Type dereferencedType() const
Definition: set.h:36
auto typeParameters() const
Definition: set.h:42
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:83
Type iteratorType(bool const_) const
Definition: set.h:71
auto & meta() const
Definition: node.h:449
bool isConstant() const
Definition: set.h:31
Type containerType() const
Definition: set.h:28
auto isWildcard() const
Definition: set.h:73
auto properties() const
Definition: set.h:44