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)); }
31 auto isEqual(
const Type& other)
const {
return node::isEqual(
this, other); }
46 bool _wildcard =
false;
63 auto isEqual(
const Type& other)
const {
return node::isEqual(
this, other); }
65 Type
elementType()
const {
return _wildcard ? type::unknown : type::effectiveType(child<Type>(0)); }
75 bool operator==(
const List& other)
const {
return elementType() == other.
elementType(); }
78 bool _wildcard =
false;
auto & childs() const
Definition: node.h:445
Type dereferencedType() const
Definition: list.h:33
auto isEqual(const Type &other) const
Definition: list.h:63
const Node none
Definition: node.cc:12
auto isWildcard() const
Definition: list.h:37
Type iteratorType(bool) const
Definition: list.h:67
auto properties() const
Definition: list.h:41
auto isWildcard() const
Definition: list.h:69
auto properties() const
Definition: list.h:73
auto isEqual(const Type &other) const
Definition: list.h:31
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:83
auto typeParameters() const
Definition: list.h:71
Type elementType() const
Definition: list.h:65
Type containerType() const
Definition: list.h:28
auto typeParameters() const
Definition: list.h:39
auto & meta() const
Definition: node.h:449