7 #include <hilti/ast/ctor.h> 8 #include <hilti/ast/expression.h> 11 namespace expression {
18 const auto& ctor()
const {
return child<::hilti::Ctor>(0); }
20 bool operator==(
const Ctor& other)
const {
return ctor() == other.ctor(); }
23 bool isLhs()
const {
return ctor().isLhs(); }
27 auto type()
const {
return type::effectiveType(ctor().
type()); }
31 auto isEqual(
const Expression& other)
const {
return node::isEqual(
this, other); }
auto type() const
Definition: ctor.h:27
Definition: expression.h:16
bool isTemporary() const
Definition: ctor.h:25
auto properties() const
Definition: ctor.h:34
auto isConstant() const
Definition: ctor.h:29
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:83
auto isEqual(const Expression &other) const
Definition: ctor.h:31
bool isLhs() const
Definition: ctor.h:23