Lines Matching refs:annotations
2596 ArenaVector<ir::Annotation *> &&annotations, bool isDeclare)
2646 std::move(decorators), std::move(annotations),
2653 std::move(decorators), std::move(annotations), std::move(paramDecorators),
2674 ArenaVector<ir::Decorator *> &&decorators, ArenaVector<ir::Annotation *> &&annotations, bool isDeclare,
2682 std::move(annotations), isDeclare);
2687 if (!annotations.empty()) {
2688 ThrowSyntaxError("Annotations can not be used with class properties", annotations.front()->Start());
2823 ArenaVector<ir::Annotation *> annotations(Allocator()->Adapter());
2832 return {decorators, annotations};
2837 annotations.push_back(stmt->AsAnnotation());
2851 return {decorators, annotations};
2867 auto annotations = decoratorsAndAnnotations.second;
2962 std::move(annotations), isDeclare ||
3060 ArenaVector<ir::Annotation *> annotations(Allocator()->Adapter());
3064 std::move(annotations), std::move(paramDecorators), false);
3719 auto annotations = decoratorsAndAnnotations.second;
3720 if (!annotations.empty()) {
3721 ThrowSyntaxError("Annotations can not be used with function parameters", annotations.front()->Start());