1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
Commit Graph

12358 Commits

Author SHA1 Message Date
Rob Rix
98b69566db Bump tree-sitter-{python,ruby} to master since the PRs have been merged. 2017-05-16 09:49:06 -04:00
Rob Rix
42fd846834 Bump tree-sitter-{python,ruby} for anonymized namespaces (& therefore internal linkage). 2017-05-15 18:14:18 -04:00
Rob Rix
24d2086e78 Bump tree-sitter-{python,ruby} for namespaced scanners. 2017-05-15 18:05:36 -04:00
Rob Rix
36465bfad6 Move toAST & anaM down. 2017-05-15 15:38:31 -04:00
Rob Rix
f6dc76b8ec 🔥 parsePythonToAST. 2017-05-15 15:38:08 -04:00
Rob Rix
70d8b76e38 🔥 parseRubyToAST. 2017-05-15 15:37:33 -04:00
Rob Rix
fe33f20fe8 Use the global toAST & anaM definitions for Ruby. 2017-05-15 15:35:31 -04:00
Rob Rix
807e42240d Extract & generalize toAST. 2017-05-15 15:34:53 -04:00
Rob Rix
a7df1129c3 Extract anaM to the top level. 2017-05-15 15:34:45 -04:00
Rick Winfrey
f6f612c9ee Assign Return as statement or literal 2017-05-12 16:07:41 -07:00
Rick Winfrey
9091b24f2d Spacing shift 2017-05-12 16:04:02 -07:00
Rick Winfrey
b2b73de89a Assign ExpressionStatement to Statements and Literals 2017-05-12 15:58:52 -07:00
Rick Winfrey
5aaa548c60 🔥 other redundant import 2017-05-12 15:30:55 -07:00
Rick Winfrey
a63a394f1a 🔥 redundant imports for now 2017-05-12 15:28:42 -07:00
Rick Winfrey
df5b526db2 📝 possibility of matching against children nodes in Import and ImportFrom statements 2017-05-12 15:17:56 -07:00
Rick Winfrey
90876ede69 Assign ImportFromStatement 2017-05-12 15:17:34 -07:00
Rick Winfrey
31c72f41d1 Assign ImportStatement 2017-05-12 15:10:34 -07:00
Rick Winfrey
e231df2a91 Add simple ImportStatement constructor 2017-05-12 15:10:23 -07:00
Rick Winfrey
092e3f38f4 Merge branch 'master' into python-assignment 2017-05-12 14:50:12 -07:00
Rob Rix
1d93e0bacd Merge pull request #1107 from github/generalize-table-of-contents-over-the-syntax-functor
Generalize table of contents over the syntax functor
2017-05-12 17:18:46 -04:00
Rob Rix
e1af9f77a8 📝 identityDecorator. 2017-05-12 16:25:19 -04:00
Rob Rix
0d43cccd6a Define the identity decorator. 2017-05-12 16:24:29 -04:00
Rick Winfrey
43fe9d45f7 Assign elif clauses 2017-05-12 12:32:48 -07:00
Rick Winfrey
807aabb586 Add ifStatement with optional else clause assignment 2017-05-12 11:48:41 -07:00
Rick Winfrey
e91a186c92 Add ExpressionStatement assignment 2017-05-12 11:25:51 -07:00
Rick Winfrey
bf20664d2d Add boolean assignment 2017-05-12 11:17:09 -07:00
Rick Winfrey
394b81ce04 Add comment assignment 2017-05-12 11:06:45 -07:00
Rick Winfrey
4763ee307f Fix typo 2017-05-12 09:52:00 -07:00
Rick Winfrey
fe41b97464 Fix HLint warnings 2017-05-12 09:45:07 -07:00
Rick Winfrey
873ddd3d51 Add Python syntax boiler plate 2017-05-12 09:44:53 -07:00
Rob Rix
a586762998 Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-12 12:24:00 -04:00
Rick Winfrey
49c54df07f Merge pull request #1111 from github/python
Add languages/python
2017-05-12 09:22:44 -07:00
Rob Rix
893e2f1bde Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-11 21:29:17 -04:00
Rick Winfrey
4bf0ad07dc Merge branch 'master' into python 2017-05-11 16:48:21 -07:00
Rick Winfrey
2e2adfb1ec Add languages/python 2017-05-11 16:45:05 -07:00
Rob Rix
c4504acaa5 Represent entryPayload as a field selector. 2017-05-11 17:32:43 -04:00
Rob Rix
b8b844cecc 🔥 more redundant imports. 2017-05-11 17:16:51 -04:00
Rob Rix
bbb7b352aa 🔥 afterOrBefore. 2017-05-11 17:16:19 -04:00
Rob Rix
915fdbb2c8 🔥 patchType. 2017-05-11 17:15:33 -04:00
Rob Rix
f711e2fd5c 🔥 redundant imports. 2017-05-11 17:14:54 -04:00
Rob Rix
162a9695d4 Correct the specs for only taking the after side of replacements. 2017-05-11 17:09:54 -04:00
Rob Rix
a71183adca Revert "Expect multiple results when there are multiple methods."
This reverts commit 2cae877627e577342072eb119729b92e8f020978.
2017-05-11 17:08:38 -04:00
Rob Rix
a788495961 Take the after side of replacements.
Otherwise we have no way of knowing which side they occurred on.
2017-05-11 17:08:21 -04:00
Rob Rix
5dd5ce8160 Pull the patch entries function into the where clause. 2017-05-11 17:05:56 -04:00
Rob Rix
b8db6b85a2 Expect multiple results when there are multiple methods. 2017-05-11 17:04:33 -04:00
Rob Rix
a536e5d71e Don’t special-case for the ParseError category. 2017-05-11 17:02:28 -04:00
Rob Rix
addc70df57 🔥 redundant functions. 2017-05-11 16:59:45 -04:00
Rob Rix
c548795cb9 diffTOC doesn’t take blobs. 2017-05-11 16:59:32 -04:00
Rob Rix
2b68c6e626 Correct how we count the number of relevant nodes. 2017-05-11 16:54:14 -04:00
Rob Rix
f24a687937 We now include results from both sides of replacements. 2017-05-11 16:42:17 -04:00