rbs 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/ext/rbs_extension/constants.c +73 -72
- data/lib/rbs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e35554c5e6cea0f61928bfdc6faaf896414118057a8889c82dd1d6dc87811811
|
4
|
+
data.tar.gz: f6506b40efbcc5df5ffeb51ebd700e63311b76aaf6c9627e542aecf8d16232b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b075058eceed815b0fb39a844dc663bda7651694a79a024a33196a252e58eb6767cdc14595fbf989d02f8558ac4b252d543e8e13bfd930abd046e259d12e97a3
|
7
|
+
data.tar.gz: 7a19f068dc2278bc2bd0332559ecf91c848516f80537ff7bb3bda7cf6084e4c085fbae8f59e7dae241ae16867827e13e81107d154d78c7336cc560eda9084dbb
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -75,77 +75,78 @@ VALUE RBS_MethodType;
|
|
75
75
|
|
76
76
|
VALUE RBS_ParsingError;
|
77
77
|
|
78
|
+
#define IMPORT_CONSTANT(var, parent, name) { var = rb_const_get(parent, rb_intern(name)); rb_gc_register_mark_object(var); }
|
79
|
+
|
78
80
|
void rbs__init_constants(void) {
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
RBS_MethodType = rb_const_get(RBS, rb_intern("MethodType"));
|
81
|
+
IMPORT_CONSTANT(RBS, rb_cObject, "RBS");
|
82
|
+
IMPORT_CONSTANT(RBS_ParsingError, RBS, "ParsingError");
|
83
|
+
|
84
|
+
IMPORT_CONSTANT(RBS_AST, RBS, "AST");
|
85
|
+
IMPORT_CONSTANT(RBS_AST_Comment, RBS_AST, "Comment");
|
86
|
+
IMPORT_CONSTANT(RBS_AST_Annotation, RBS_AST, "Annotation");
|
87
|
+
IMPORT_CONSTANT(RBS_AST_TypeParam, RBS_AST, "TypeParam");
|
88
|
+
|
89
|
+
IMPORT_CONSTANT(RBS_AST_Declarations, RBS_AST, "Declarations");
|
90
|
+
|
91
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_TypeAlias, RBS_AST_Declarations, "TypeAlias");
|
92
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Constant, RBS_AST_Declarations, "Constant");
|
93
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Global, RBS_AST_Declarations, "Global");
|
94
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Interface, RBS_AST_Declarations, "Interface");
|
95
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Module, RBS_AST_Declarations, "Module");
|
96
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Module_Self, RBS_AST_Declarations_Module, "Self");
|
97
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Class, RBS_AST_Declarations, "Class");
|
98
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_Class_Super, RBS_AST_Declarations_Class, "Super");
|
99
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_ClassAlias, RBS_AST_Declarations, "ClassAlias");
|
100
|
+
IMPORT_CONSTANT(RBS_AST_Declarations_ModuleAlias, RBS_AST_Declarations, "ModuleAlias");
|
101
|
+
|
102
|
+
IMPORT_CONSTANT(RBS_AST_Directives, RBS_AST, "Directives");
|
103
|
+
IMPORT_CONSTANT(RBS_AST_Directives_Use, RBS_AST_Directives, "Use");
|
104
|
+
IMPORT_CONSTANT(RBS_AST_Directives_Use_SingleClause, RBS_AST_Directives_Use, "SingleClause");
|
105
|
+
IMPORT_CONSTANT(RBS_AST_Directives_Use_WildcardClause, RBS_AST_Directives_Use, "WildcardClause");
|
106
|
+
|
107
|
+
IMPORT_CONSTANT(RBS_AST_Members, RBS_AST, "Members");
|
108
|
+
IMPORT_CONSTANT(RBS_AST_Members_Alias, RBS_AST_Members, "Alias");
|
109
|
+
IMPORT_CONSTANT(RBS_AST_Members_AttrAccessor, RBS_AST_Members, "AttrAccessor");
|
110
|
+
IMPORT_CONSTANT(RBS_AST_Members_AttrReader, RBS_AST_Members, "AttrReader");
|
111
|
+
IMPORT_CONSTANT(RBS_AST_Members_AttrWriter, RBS_AST_Members, "AttrWriter");
|
112
|
+
IMPORT_CONSTANT(RBS_AST_Members_ClassInstanceVariable, RBS_AST_Members, "ClassInstanceVariable");
|
113
|
+
IMPORT_CONSTANT(RBS_AST_Members_ClassVariable, RBS_AST_Members, "ClassVariable");
|
114
|
+
IMPORT_CONSTANT(RBS_AST_Members_Extend, RBS_AST_Members, "Extend");
|
115
|
+
IMPORT_CONSTANT(RBS_AST_Members_Include, RBS_AST_Members, "Include");
|
116
|
+
IMPORT_CONSTANT(RBS_AST_Members_InstanceVariable, RBS_AST_Members, "InstanceVariable");
|
117
|
+
IMPORT_CONSTANT(RBS_AST_Members_MethodDefinition, RBS_AST_Members, "MethodDefinition");
|
118
|
+
IMPORT_CONSTANT(RBS_AST_Members_MethodDefinition_Overload, RBS_AST_Members_MethodDefinition, "Overload");
|
119
|
+
IMPORT_CONSTANT(RBS_AST_Members_Prepend, RBS_AST_Members, "Prepend");
|
120
|
+
IMPORT_CONSTANT(RBS_AST_Members_Private, RBS_AST_Members, "Private");
|
121
|
+
IMPORT_CONSTANT(RBS_AST_Members_Public, RBS_AST_Members, "Public");
|
122
|
+
|
123
|
+
IMPORT_CONSTANT(RBS_Namespace, RBS, "Namespace");
|
124
|
+
IMPORT_CONSTANT(RBS_TypeName, RBS, "TypeName");
|
125
|
+
IMPORT_CONSTANT(RBS_Types, RBS, "Types");
|
126
|
+
IMPORT_CONSTANT(RBS_Types_Alias, RBS_Types, "Alias");
|
127
|
+
IMPORT_CONSTANT(RBS_Types_Bases, RBS_Types, "Bases");
|
128
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Any, RBS_Types_Bases, "Any");
|
129
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Bool, RBS_Types_Bases, "Bool");
|
130
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Bottom, RBS_Types_Bases, "Bottom");
|
131
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Class, RBS_Types_Bases, "Class");
|
132
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Instance, RBS_Types_Bases, "Instance");
|
133
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Nil, RBS_Types_Bases, "Nil");
|
134
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Self, RBS_Types_Bases, "Self");
|
135
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Top, RBS_Types_Bases, "Top");
|
136
|
+
IMPORT_CONSTANT(RBS_Types_Bases_Void, RBS_Types_Bases, "Void");
|
137
|
+
IMPORT_CONSTANT(RBS_Types_Block, RBS_Types, "Block");
|
138
|
+
IMPORT_CONSTANT(RBS_Types_ClassInstance, RBS_Types, "ClassInstance");
|
139
|
+
IMPORT_CONSTANT(RBS_Types_ClassSingleton, RBS_Types, "ClassSingleton");
|
140
|
+
IMPORT_CONSTANT(RBS_Types_Function, RBS_Types, "Function");
|
141
|
+
IMPORT_CONSTANT(RBS_Types_Function_Param, RBS_Types_Function, "Param");
|
142
|
+
IMPORT_CONSTANT(RBS_Types_Interface, RBS_Types, "Interface");
|
143
|
+
IMPORT_CONSTANT(RBS_Types_Intersection, RBS_Types, "Intersection");
|
144
|
+
IMPORT_CONSTANT(RBS_Types_Literal, RBS_Types, "Literal");
|
145
|
+
IMPORT_CONSTANT(RBS_Types_Optional, RBS_Types, "Optional");
|
146
|
+
IMPORT_CONSTANT(RBS_Types_Proc, RBS_Types, "Proc");
|
147
|
+
IMPORT_CONSTANT(RBS_Types_Record, RBS_Types, "Record");
|
148
|
+
IMPORT_CONSTANT(RBS_Types_Tuple, RBS_Types, "Tuple");
|
149
|
+
IMPORT_CONSTANT(RBS_Types_Union, RBS_Types, "Union");
|
150
|
+
IMPORT_CONSTANT(RBS_Types_Variable, RBS_Types, "Variable");
|
151
|
+
IMPORT_CONSTANT(RBS_MethodType, RBS, "MethodType");
|
151
152
|
}
|
data/lib/rbs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RBS is the language for type signatures for Ruby and standard library
|
14
14
|
definitions.
|