Update README.md
Browse files
README.md
CHANGED
@@ -109,22 +109,133 @@ The natural language text (docstring) is in English.
|
|
109 |
### Data Instances
|
110 |
```
|
111 |
{
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
|
|
128 |
```
|
129 |
### Data Fields
|
130 |
|
|
|
109 |
### Data Instances
|
110 |
```
|
111 |
{
|
112 |
+
|
113 |
+
"hexsha": "5c47f0b4c173a8fd03e4e633d9b3dd8211e67ad0",
|
114 |
+
"repo": "neumanna94/beepboop",
|
115 |
+
"path": "js/scripts.js",
|
116 |
+
"license": [
|
117 |
+
"MIT"
|
118 |
+
],
|
119 |
+
"language": "JavaScript",
|
120 |
+
"identifier": "beepBoopSelector",
|
121 |
+
"return_type": "<not_specific>",
|
122 |
+
"original_string": "function beepBoopSelector(inputString, bbFunction){\n if(bbFunction==1){\n return beepBoop(inputString);\n } else if(bbFunction==2){\n return beepBoop2(inputString);\n } else if(bbFunction==3){\n return beepBoop3(inputString);\n } else {\n }\n}",
|
123 |
+
"original_docstring": "//Determines what beepBoop function to use",
|
124 |
+
"docstring": "Determines what beepBoop function to use",
|
125 |
+
"docstring_tokens": [
|
126 |
+
"Determines",
|
127 |
+
"what",
|
128 |
+
"beepBoop",
|
129 |
+
"function",
|
130 |
+
"to",
|
131 |
+
"use"
|
132 |
+
],
|
133 |
+
"code": "function beepBoopSelector(inputString, bbFunction){\n if(bbFunction==1){\n return beepBoop(inputString);\n } else if(bbFunction==2){\n return beepBoop2(inputString);\n } else if(bbFunction==3){\n return beepBoop3(inputString);\n } else {\n }\n}",
|
134 |
+
"code_tokens": [
|
135 |
+
"function",
|
136 |
+
"beepBoopSelector",
|
137 |
+
"(",
|
138 |
+
"inputString",
|
139 |
+
",",
|
140 |
+
"bbFunction",
|
141 |
+
")",
|
142 |
+
"{",
|
143 |
+
"if",
|
144 |
+
"(",
|
145 |
+
"bbFunction",
|
146 |
+
"==",
|
147 |
+
"1",
|
148 |
+
")",
|
149 |
+
"{",
|
150 |
+
"return",
|
151 |
+
"beepBoop",
|
152 |
+
"(",
|
153 |
+
"inputString",
|
154 |
+
")",
|
155 |
+
";",
|
156 |
+
"}",
|
157 |
+
"else",
|
158 |
+
"if",
|
159 |
+
"(",
|
160 |
+
"bbFunction",
|
161 |
+
"==",
|
162 |
+
"2",
|
163 |
+
")",
|
164 |
+
"{",
|
165 |
+
"return",
|
166 |
+
"beepBoop2",
|
167 |
+
"(",
|
168 |
+
"inputString",
|
169 |
+
")",
|
170 |
+
";",
|
171 |
+
"}",
|
172 |
+
"else",
|
173 |
+
"if",
|
174 |
+
"(",
|
175 |
+
"bbFunction",
|
176 |
+
"==",
|
177 |
+
"3",
|
178 |
+
")",
|
179 |
+
"{",
|
180 |
+
"return",
|
181 |
+
"beepBoop3",
|
182 |
+
"(",
|
183 |
+
"inputString",
|
184 |
+
")",
|
185 |
+
";",
|
186 |
+
"}",
|
187 |
+
"else",
|
188 |
+
"{",
|
189 |
+
"}",
|
190 |
+
"}"
|
191 |
+
],
|
192 |
+
|
193 |
+
"short_docstring": "Determines what beepBoop function to use",
|
194 |
+
"short_docstring_tokens": [
|
195 |
+
"Determines",
|
196 |
+
"what",
|
197 |
+
"beepBoop",
|
198 |
+
"function",
|
199 |
+
"to",
|
200 |
+
"use"
|
201 |
+
],
|
202 |
+
"comment": [],
|
203 |
+
"parameters": [
|
204 |
+
{
|
205 |
+
"param": "inputString",
|
206 |
+
"type": null
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"param": "bbFunction",
|
210 |
+
"type": null
|
211 |
+
}
|
212 |
+
],
|
213 |
+
"docstring_params": {
|
214 |
+
"returns": [],
|
215 |
+
"raises": [],
|
216 |
+
"params": [
|
217 |
+
{
|
218 |
+
"identifier": "inputString",
|
219 |
+
"type": null,
|
220 |
+
"docstring": null,
|
221 |
+
"docstring_tokens": [],
|
222 |
+
"default": null,
|
223 |
+
"is_optional": null
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"identifier": "bbFunction",
|
227 |
+
"type": null,
|
228 |
+
"docstring": null,
|
229 |
+
"docstring_tokens": [],
|
230 |
+
"default": null,
|
231 |
+
"is_optional": null
|
232 |
+
}
|
233 |
+
],
|
234 |
+
"outlier_params": [],
|
235 |
+
"others": []
|
236 |
+
}
|
237 |
}
|
238 |
+
|
239 |
```
|
240 |
### Data Fields
|
241 |
|