1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

171 Commits

Author SHA1 Message Date
Timothy Clem
24a470ba7a FreeVariable Name as NonEmpty List 2018-03-08 09:34:09 -08:00
Timothy Clem
948162c88d Fix up tests again 2018-03-08 07:57:18 -08:00
Timothy Clem
61f6d0314b Fix up a few tests 2018-03-06 11:02:29 -08:00
Timothy Clem
843728aa3b Merge remote-tracking branch 'origin/master' into environment-scoping 2018-03-05 08:43:32 -08:00
Patrick Thomson
1da2668d60 Fix end-to-end tests. 2018-03-02 15:30:51 -08:00
Timothy Clem
2d91f699f6 Fix up tests to assert wildcard imports 2018-03-01 14:59:09 -08:00
Timothy Clem
ad225f7d89 Updated test fixtures for qualified imports 2018-03-01 14:04:13 -08:00
Timothy Clem
3352b840aa Simplify these to get started 2018-03-01 11:47:38 -08:00
Timothy Clem
bc883f3941 Another updated fixture from new import alias structure 2018-03-01 11:47:29 -08:00
Timothy Clem
ee749ddcf1 Restructure Python import alias assignment 2018-03-01 11:45:43 -08:00
Timothy Clem
b1b463fb99 Begin to build some python fixtures for imports 2018-03-01 10:08:15 -08:00
joshvera
19ab77f434 Use expressions 2018-02-13 20:28:31 -05:00
joshvera
616a82eb8a Fix tests 2018-02-13 12:44:50 -05:00
Timothy Clem
aed971ed07 Merge branch 'master' into import-graph 2018-02-12 10:11:29 -08:00
Timothy Clem
fb000828ed Test out import-graph output for relevant languages 2018-02-07 12:20:41 -08:00
Timothy Clem
25cf8bb56d Clean up python import parsing a bit more
Makes sure we can parse things like:
from b import a as x, b as y
2018-02-06 13:40:49 -08:00
Josh Vera
88b8c64df5 Merge branch 'master' into php-assignment 2018-02-05 17:02:35 -05:00
Timothy Clem
475d222cb5 Fix up python tests after changing to support ImportSymbol 2018-01-30 13:14:50 -08:00
joshvera
819664e2f7 Merge remote-tracking branch 'origin/master' into php-assignment 2018-01-25 17:46:00 -05:00
Timothy Clem
a1fb0a1ee5 Flatten out python trees a bit 2018-01-19 07:51:01 -08:00
joshvera
0e6b98239a Regenerate tests 2018-01-16 18:24:58 -05:00
Timothy Clem
ea5d7437d4 Fix up Python tests for new structure of Import 2018-01-15 20:14:50 -07:00
joshvera
df973897fa Fix boolean operator tests 2017-12-27 14:50:33 -05:00
Rob Rix
10b8de93b3 Update the fixtures. 2017-12-01 17:13:24 -05:00
Timothy Clem
0b3568aaba Shape of Declaration.Class changed 2017-11-08 14:26:40 -08:00
Ayman Nadeem
fd11cf9e22 updated fixture 2017-10-31 14:56:25 -07:00
Rob Rix
e512398b85 Update a bunch of fixtures. 2017-10-24 15:13:47 -04:00
Rob Rix
0fecda703a Update the fixtures. 2017-10-03 15:26:50 -04:00
joshvera
b3667104fb Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-28 14:24:57 -07:00
Rob Rix
5ba29e6361 Fix the while-statement diff. 2017-09-25 18:46:47 -04:00
Rob Rix
de1a5f8a23 Fix _most of_ the failures. 2017-09-25 18:45:37 -04:00
joshvera
c5e3ca246f Update function and async-function specs in python 2017-09-19 17:32:51 -04:00
joshvera
d0fb557bec Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-19 17:04:27 -04:00
Timothy Clem
44d59f4e4d Some updated python fixtures due to eqTerms 2017-09-19 09:37:50 -07:00
joshvera
c26dcae355 Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-15 14:38:47 -04:00
joshvera
ef2e5afa76 Regenerate tests 2017-09-10 22:08:40 +01:00
Rob Rix
27db18bfde Correct the language fixtures. 2017-09-09 23:41:12 +01:00
Rick Winfrey
82a703088d Update Python integratin specs
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-09-01 15:51:53 -04:00
joshvera
b99309bcc5 Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-08-25 12:18:09 -04:00
Rick Winfrey
8f9b96dc3d Update Python integratin specs
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-08-24 16:35:15 -07:00
joshvera
6c94040649 fix up python tests 2017-08-24 17:29:55 -04:00
Timothy Clem
86f65b39ff 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 12:59:08 -07:00
Rob Rix
c0a410ba7e Merge branch 'master' into systematic-comment-assignment 2017-08-15 10:48:10 -04:00
Rob Rix
fef11c61ba Update the Python fixtures. 2017-08-15 10:05:34 -04:00
Rob Rix
3960c35b22 Add ±B yield fixtures. 2017-08-15 09:55:31 -04:00
Rob Rix
db902675d5 Correct the yield fixture. 2017-08-15 09:55:00 -04:00
Rob Rix
e86e2ab9fc 🔥 all the ±A/B fixtures. 2017-08-15 09:32:45 -04:00
Rob Rix
8a1e374400 Regenerate the Python insertion/deletion fixtures. 2017-08-15 09:10:20 -04:00
Rick Winfrey
4bd270200a Generate test fixtures for Python 2017-08-11 11:58:45 -07:00
Timothy Clem
ed525a310f Finally clauses can have multiple statements/expressions 2017-07-21 15:46:17 -07:00
Timothy Clem
618165452a With statements with multiple withItems and partial withItems 2017-07-21 15:46:04 -07:00
Timothy Clem
1ab0701df2 Allow comments in pairs 2017-07-21 15:10:31 -07:00
Timothy Clem
8831317423 Fix issues with with and multiple body statements 2017-07-21 15:01:01 -07:00
Timothy Clem
4461cb1542 Move yield to top level 2017-07-21 14:59:19 -07:00
Timothy Clem
22bdce0c46 Relax identifier to expression 2017-07-21 14:25:14 -07:00
Timothy Clem
f7202b23c8 Allow assignment of KeywordIdentifier 2017-07-21 14:17:22 -07:00
Timothy Clem
6bf440d240 Python elif and else need to take multiple statements too 2017-07-20 11:42:56 -07:00
Rick Winfrey
67ad264125 Add slice test fixtures 2017-07-12 15:34:17 -07:00
Rick Winfrey
aaf2ce089e Assign dictionary splat parameters 2017-07-11 15:31:19 -07:00
Rick Winfrey
3f4d47030b Assign list splat parameters 2017-07-11 13:53:25 -07:00
Rick Winfrey
821c6813ec Assign typedDefaultParameter 2017-07-11 13:43:35 -07:00
Rick Winfrey
b35091f754 Assign aliased imports 2017-07-10 15:58:41 -07:00
Rick Winfrey
a03300c920 Add test covering default parameters in Python 2017-07-10 13:59:40 -07:00
Rick Winfrey
550df8f150 Add newline 2017-06-08 11:17:42 -07:00
Rick Winfrey
f059aec454 Update newlines 2017-06-08 11:07:43 -07:00
Rick Winfrey
7023a16147 Normalize new lines for python fixture files 2017-06-07 10:30:37 -07:00
Rick Winfrey
7ad1643d9c Generator expression test fixture 2017-06-06 17:11:17 -07:00
Rick Winfrey
d83e4d9331 Global statement test fixture 2017-06-06 17:11:09 -07:00
Rick Winfrey
2d75fd9cc4 If statement test fixture 2017-06-06 17:10:59 -07:00
Rick Winfrey
593f864e5f Import from statement test fixture 2017-06-06 17:10:51 -07:00
Rick Winfrey
a00ca46065 Import statement test fixture 2017-06-06 17:10:42 -07:00
Rick Winfrey
1ae5f37bf6 Integer test fixture 2017-06-06 17:10:32 -07:00
Rick Winfrey
5a6687e395 Keyword identifier test fixture 2017-06-06 17:10:24 -07:00
Rick Winfrey
235f1313ac Lambda test fixture 2017-06-06 17:10:12 -07:00
Rick Winfrey
6fef74d6ee List comprehension test fixture 2017-06-06 17:10:02 -07:00
Rick Winfrey
5d7b8eb42a Non local statement test fixture 2017-06-06 17:09:52 -07:00
Rick Winfrey
c018ecb70f None test fixture 2017-06-06 17:09:42 -07:00
Rick Winfrey
5d68b88897 Not test fixture 2017-06-06 17:09:35 -07:00
Rick Winfrey
586756ccf4 Pass statement test fixture 2017-06-06 17:09:26 -07:00
Rick Winfrey
de2f128bee Print statement test fixture 2017-06-06 17:09:16 -07:00
Rick Winfrey
3cdd5a50c7 Raise statement test fixture 2017-06-06 17:09:07 -07:00
Rick Winfrey
21f94dbd4e Return statement test fixture 2017-06-06 17:08:58 -07:00
Rick Winfrey
e8c31f6e27 Set comprehension test fixture 2017-06-06 17:08:50 -07:00
Rick Winfrey
82e70763e0 Set test fixture 2017-06-06 17:08:41 -07:00
Rick Winfrey
0becd1dccb String test fixture 2017-06-06 17:08:33 -07:00
Rick Winfrey
93fc407535 Try statement test fixture 2017-06-06 17:08:20 -07:00
Rick Winfrey
49da4ca545 Tuple test fixture 2017-06-06 17:08:11 -07:00
Rick Winfrey
4c8c87ea51 While statement test fixture 2017-06-06 17:08:03 -07:00
Rick Winfrey
056b2d8abb With statement test fixture 2017-06-06 17:07:54 -07:00
Rick Winfrey
84f6578161 Function definition test fixture 2017-06-06 17:07:44 -07:00
Rick Winfrey
3cf74088b0 For statement test fixture 2017-06-06 17:07:34 -07:00
Rick Winfrey
06cc3a5fbb Float test fixture 2017-06-06 17:07:25 -07:00
Rick Winfrey
a672d30f18 Expression statement test fixture 2017-06-06 17:07:15 -07:00
Rick Winfrey
0c7ea1c0b3 Exec statement test fixture 2017-06-06 17:07:06 -07:00
Rick Winfrey
7625518187 Ellipsis test fixture 2017-06-06 17:06:55 -07:00
Rick Winfrey
0d4e15b780 Dotted name test fixture 2017-06-06 17:06:47 -07:00
Rick Winfrey
90f0084af8 Dictionary comprehension test fixture 2017-06-06 17:06:38 -07:00
Rick Winfrey
9566fc3361 Delete statement test fixture 2017-06-06 17:06:28 -07:00
Rick Winfrey
4202e81d79 Decorated definition test fixture 2017-06-06 17:06:19 -07:00
Rick Winfrey
e042dfdc92 Continue statement test fixture 2017-06-06 17:06:11 -07:00