Lines Matching defs:AnnotatedExpression
25 class AnnotatedExpression;
89 [[nodiscard]] AnnotatedExpression *AsAnnotatedExpression()
92 return reinterpret_cast<AnnotatedExpression *>(this);
95 [[nodiscard]] const AnnotatedExpression *AsAnnotatedExpression() const
98 return reinterpret_cast<const AnnotatedExpression *>(this);
114 class AnnotatedExpression : public Annotated<Expression> {
116 AnnotatedExpression() = delete;
117 ~AnnotatedExpression() override = default;
119 NO_COPY_SEMANTIC(AnnotatedExpression);
120 NO_MOVE_SEMANTIC(AnnotatedExpression);
128 explicit AnnotatedExpression(AstNodeType const type, TypeNode *const typeAnnotation)
132 explicit AnnotatedExpression(AstNodeType const type) : Annotated<Expression>(type) {}
134 explicit AnnotatedExpression(AnnotatedExpression const &other, ArenaAllocator *allocator);