1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
Commit Graph

79 Commits

Author SHA1 Message Date
Rob Rix
b6ccf15d09 Update all the fixtures. 2017-05-24 14:42:12 -04:00
Timothy Clem
316169bab1 Properly handle null before/after in input JSON 2017-05-23 11:00:20 -07:00
Timothy Clem
7121f827e3 Handle various language inputs and test them 2017-05-18 14:05:29 -07:00
Timothy Clem
1a97d42acf Only require path on the blob level 2017-05-17 14:03:08 -07:00
Timothy Clem
08deafb142 Formatting of test file 2017-05-17 13:40:01 -07:00
Timothy Clem
4af9b02737 Expand API to support parsing 2017-05-17 13:34:09 -07:00
Timothy Clem
9777937d9d Read any handle and assert in specs 2017-05-17 12:47:45 -07:00
Timothy Clem
6e6d3e1432 Go tests with parse error have much smaller trees when we halt on error 2017-05-03 14:12:43 -07:00
joshvera
2224f87822 Regenerate public field definition tests 2017-03-30 18:07:52 -04:00
joshvera
eb512a6acf Add tests for method definition 2017-03-30 17:59:41 -04:00
joshvera
a20370b659 Add better interface tests 2017-03-30 17:48:16 -04:00
joshvera
7f568e8286 Update javascript tests since we parse JS with typescript now 2017-03-29 17:06:10 -04:00
joshvera
5339bd5ca8 add newlines 2017-03-29 16:56:25 -04:00
joshvera
b5f9938279 Remove ty from Method and throw every part of a call signature into a list 2017-03-29 16:24:54 -04:00
joshvera
89f307edf0 Don't pop off Params/Args from S.Function since type arguments can appear before or return types can appear after in some languages 2017-03-29 16:03:28 -04:00
joshvera
cdbd260b0f Remove type from Function and unpack call signatures 2017-03-29 12:36:05 -04:00
joshvera
d6334ac5a4 Update function call tests 2017-03-29 11:15:56 -04:00
joshvera
60b47317c1 Relax class heritage structure in Syntax.Class 2017-03-28 18:16:04 -04:00
joshvera
0058c371ec Map template_chars in JS and add missing Interface cases 2017-03-28 16:10:37 -04:00
joshvera
f86d43a6e5 Add namespace mapping 2017-03-28 15:43:21 -04:00
joshvera
d9c40de4e1 Update nested functions tests 2017-03-28 15:29:50 -04:00
joshvera
eeceeea4d2 Update template-string tests 2017-03-28 15:25:21 -04:00
joshvera
41915ff44a Update tests 2017-03-28 13:25:46 -04:00
joshvera
01a8087b0a Map public_field_definition to FieldDecl and fix up VarDecl and VarAssignment mappings 2017-03-28 13:00:15 -04:00
joshvera
285bd71606 Add function type and array type 2017-03-28 11:22:27 -04:00
joshvera
f2666fd5bd Add tuple type 2017-03-28 11:19:45 -04:00
joshvera
31361d2306 Add interface, intersection, union type tests 2017-03-27 17:54:37 -04:00
joshvera
3d27c9dd3e Add type assertions tests 2017-03-27 17:27:18 -04:00
joshvera
d5e90bdfeb Add module declarations 2017-03-27 17:09:29 -04:00
joshvera
48f4310428 Add ambient type declarations 2017-03-27 17:08:07 -04:00
joshvera
92ff890b9e Add export assignments 2017-03-27 17:06:24 -04:00
joshvera
845dcc2cda Add ambient exports tests 2017-03-27 17:04:42 -04:00
joshvera
0d123d1936 Add typeof type tests 2017-03-27 17:02:51 -04:00
joshvera
40423e47d5 Add ambient declaration tests 2017-03-27 17:00:44 -04:00
joshvera
9c220b9fe1 Generate ambient declarations 2017-03-27 16:58:40 -04:00
joshvera
48d46489d1 Merge remote-tracking branch 'origin/master' into typescript-mapping 2017-03-27 12:05:06 -04:00
joshvera
4515e581bf add typescript 2017-03-24 17:10:03 -04:00
joshvera
62057c5605 Map public_field_definition to VarAssignment 2017-03-24 16:56:59 -04:00
Rob Rix
1ab51de582 Update the failing test’s fixture.
I’m pretty sure this is due to us producing a different shortest edit script than the old implementation (but still a correct one, and a shortest one—just a different correct/shortest one), and that in turn causing RWS to make different choices.
2017-03-23 14:21:09 -04:00
joshvera
bcb85a3336 Tabs to spaces 2017-03-17 12:52:41 -04:00
joshvera
1b1f85015e Add ParseCommand changes back 2017-03-17 12:51:22 -04:00
joshvera
7a5bf48aac Rename js to ts 2017-03-17 10:52:18 -04:00
joshvera
f89e51f665 add js files 2017-03-17 10:48:51 -04:00
joshvera
e44e884b98 Add class properties 2017-03-16 17:18:49 -04:00
joshvera
643d289bf0 Add tests for assignment-pattern 2017-03-16 16:47:14 -04:00
joshvera
129da112b3 Map yield expression, lexical declaration and assignment pattern 2017-03-16 16:36:19 -04:00
Timothy Clem
e9315fafe2 Merge remote-tracking branch 'origin/master' into interpreter-decomposition 2017-02-28 09:33:44 -08:00
Timothy Clem
929a17d913 Add/Remove integration tests for JavaScript 2017-02-28 08:33:11 -08:00
Timothy Clem
864bf12590 Add/Remove integration tests for Go 2017-02-28 08:30:04 -08:00
Rob Rix
83dd3d5621 Merge branch 'master' into interpreter-decomposition 2017-02-27 15:22:38 -05:00