7 #include <hilti/ast/ctor.h> 8 #include <hilti/ast/expression.h> 17 const auto& ctor()
const {
return child<::hilti::Ctor>(0); }
19 bool operator==(
const Ctor& other)
const {
return ctor() == other.ctor(); }
22 bool isLhs()
const {
return ctor().isLhs(); }
26 const auto&
type()
const {
return ctor().type(); }
30 auto isEqual(
const Expression& other)
const {
return node::isEqual(
this, other); }
Definition: expression.h:18
bool isTemporary() const
Definition: ctor.h:24
auto properties() const
Definition: ctor.h:33
auto isConstant() const
Definition: ctor.h:28
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:98
const auto & type() const
Definition: ctor.h:26
auto isEqual(const Expression &other) const
Definition: ctor.h:30
bool isLhs() const
Definition: ctor.h:22
Definition: expression.h:21