@@ -50,38 +50,39 @@ enum rbs_node_type {
5050 RBS_AST_RUBY_ANNOTATIONS_NODE_TYPE_ASSERTION = 34 ,
5151 RBS_AST_RUBY_ANNOTATIONS_RETURN_TYPE_ANNOTATION = 35 ,
5252 RBS_AST_RUBY_ANNOTATIONS_SKIP_ANNOTATION = 36 ,
53- RBS_AST_STRING = 37 ,
54- RBS_AST_TYPE_PARAM = 38 ,
55- RBS_METHOD_TYPE = 39 ,
56- RBS_NAMESPACE = 40 ,
57- RBS_SIGNATURE = 41 ,
58- RBS_TYPE_NAME = 42 ,
59- RBS_TYPES_ALIAS = 43 ,
60- RBS_TYPES_BASES_ANY = 44 ,
61- RBS_TYPES_BASES_BOOL = 45 ,
62- RBS_TYPES_BASES_BOTTOM = 46 ,
63- RBS_TYPES_BASES_CLASS = 47 ,
64- RBS_TYPES_BASES_INSTANCE = 48 ,
65- RBS_TYPES_BASES_NIL = 49 ,
66- RBS_TYPES_BASES_SELF = 50 ,
67- RBS_TYPES_BASES_TOP = 51 ,
68- RBS_TYPES_BASES_VOID = 52 ,
69- RBS_TYPES_BLOCK = 53 ,
70- RBS_TYPES_CLASS_INSTANCE = 54 ,
71- RBS_TYPES_CLASS_SINGLETON = 55 ,
72- RBS_TYPES_FUNCTION = 56 ,
73- RBS_TYPES_FUNCTION_PARAM = 57 ,
74- RBS_TYPES_INTERFACE = 58 ,
75- RBS_TYPES_INTERSECTION = 59 ,
76- RBS_TYPES_LITERAL = 60 ,
77- RBS_TYPES_OPTIONAL = 61 ,
78- RBS_TYPES_PROC = 62 ,
79- RBS_TYPES_RECORD = 63 ,
80- RBS_TYPES_RECORD_FIELD_TYPE = 64 ,
81- RBS_TYPES_TUPLE = 65 ,
82- RBS_TYPES_UNION = 66 ,
83- RBS_TYPES_UNTYPED_FUNCTION = 67 ,
84- RBS_TYPES_VARIABLE = 68 ,
53+ RBS_AST_RUBY_ANNOTATIONS_TYPE_APPLICATION_ANNOTATION = 37 ,
54+ RBS_AST_STRING = 38 ,
55+ RBS_AST_TYPE_PARAM = 39 ,
56+ RBS_METHOD_TYPE = 40 ,
57+ RBS_NAMESPACE = 41 ,
58+ RBS_SIGNATURE = 42 ,
59+ RBS_TYPE_NAME = 43 ,
60+ RBS_TYPES_ALIAS = 44 ,
61+ RBS_TYPES_BASES_ANY = 45 ,
62+ RBS_TYPES_BASES_BOOL = 46 ,
63+ RBS_TYPES_BASES_BOTTOM = 47 ,
64+ RBS_TYPES_BASES_CLASS = 48 ,
65+ RBS_TYPES_BASES_INSTANCE = 49 ,
66+ RBS_TYPES_BASES_NIL = 50 ,
67+ RBS_TYPES_BASES_SELF = 51 ,
68+ RBS_TYPES_BASES_TOP = 52 ,
69+ RBS_TYPES_BASES_VOID = 53 ,
70+ RBS_TYPES_BLOCK = 54 ,
71+ RBS_TYPES_CLASS_INSTANCE = 55 ,
72+ RBS_TYPES_CLASS_SINGLETON = 56 ,
73+ RBS_TYPES_FUNCTION = 57 ,
74+ RBS_TYPES_FUNCTION_PARAM = 58 ,
75+ RBS_TYPES_INTERFACE = 59 ,
76+ RBS_TYPES_INTERSECTION = 60 ,
77+ RBS_TYPES_LITERAL = 61 ,
78+ RBS_TYPES_OPTIONAL = 62 ,
79+ RBS_TYPES_PROC = 63 ,
80+ RBS_TYPES_RECORD = 64 ,
81+ RBS_TYPES_RECORD_FIELD_TYPE = 65 ,
82+ RBS_TYPES_TUPLE = 66 ,
83+ RBS_TYPES_UNION = 67 ,
84+ RBS_TYPES_UNTYPED_FUNCTION = 68 ,
85+ RBS_TYPES_VARIABLE = 69 ,
8586 RBS_KEYWORD ,
8687 RBS_AST_SYMBOL ,
8788};
@@ -438,6 +439,15 @@ typedef struct rbs_ast_ruby_annotations_skip_annotation {
438439 struct rbs_location * comment_location ;
439440} rbs_ast_ruby_annotations_skip_annotation_t ;
440441
442+ typedef struct rbs_ast_ruby_annotations_type_application_annotation {
443+ rbs_node_t base ;
444+
445+ struct rbs_location * prefix_location ;
446+ struct rbs_node_list * type_args ;
447+ struct rbs_location * close_bracket_location ;
448+ struct rbs_location_list * comma_locations ;
449+ } rbs_ast_ruby_annotations_type_application_annotation_t ;
450+
441451typedef struct rbs_ast_string {
442452 rbs_node_t base ;
443453
@@ -712,6 +722,7 @@ rbs_ast_ruby_annotations_method_types_annotation_t *rbs_ast_ruby_annotations_met
712722rbs_ast_ruby_annotations_node_type_assertion_t * rbs_ast_ruby_annotations_node_type_assertion_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_location_t * prefix_location , rbs_node_t * type );
713723rbs_ast_ruby_annotations_return_type_annotation_t * rbs_ast_ruby_annotations_return_type_annotation_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_location_t * prefix_location , rbs_location_t * return_location , rbs_location_t * colon_location , rbs_node_t * return_type , rbs_location_t * comment_location );
714724rbs_ast_ruby_annotations_skip_annotation_t * rbs_ast_ruby_annotations_skip_annotation_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_location_t * prefix_location , rbs_location_t * skip_location , rbs_location_t * comment_location );
725+ rbs_ast_ruby_annotations_type_application_annotation_t * rbs_ast_ruby_annotations_type_application_annotation_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_location_t * prefix_location , rbs_node_list_t * type_args , rbs_location_t * close_bracket_location , rbs_location_list_t * comma_locations );
715726rbs_ast_string_t * rbs_ast_string_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_string_t string );
716727rbs_ast_type_param_t * rbs_ast_type_param_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_ast_symbol_t * name , rbs_keyword_t * variance , rbs_node_t * upper_bound , rbs_node_t * lower_bound , rbs_node_t * default_type , bool unchecked );
717728rbs_method_type_t * rbs_method_type_new (rbs_allocator_t * allocator , rbs_location_t * location , rbs_node_list_t * type_params , rbs_node_t * type , rbs_types_block_t * block );
0 commit comments