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 const auto&
type()
const {
return ctor().type(); }
31 auto isEqual(
const Expression& other)
const {
return node::isEqual(
this, other); }
Definition: expression.h:17
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:99
const auto & type() const
Definition: ctor.h:27
auto isEqual(const Expression &other) const
Definition: ctor.h:31
bool isLhs() const
Definition: ctor.h:23