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

32910 Commits

Author SHA1 Message Date
joshvera
4de4e68b84 Replace undefined with impossibleTerm
doesn't seem like a Nothing case is possible as this is a remnant of tree-sitter's handling of sum types
2020-02-11 17:38:35 -05:00
joshvera
02db8cfa8e Define reference to initial scope outside of for_ loop 2020-02-11 17:17:22 -05:00
joshvera
5339ee2e03 cleanup 2020-02-11 16:31:49 -05:00
joshvera
0372b888bd Use props in reference 2020-02-11 16:19:36 -05:00
joshvera
5ef758aa85 Reuse path in newReference 2020-02-11 16:16:20 -05:00
joshvera
a1e00b3504 Fix ImportStatement 2020-02-11 15:50:59 -05:00
joshvera
9913031f97 Fix positions and kinds in tests 2020-02-11 13:06:29 -05:00
joshvera
284912ad21 Remove extra reference call in tests 2020-02-11 12:56:47 -05:00
joshvera
13ebd4650b remove imports 2020-02-11 12:50:25 -05:00
joshvera
c588a8aab8 Revert runScopeGraph changes 2020-02-11 12:49:37 -05:00
Josh Vera
3ee0ffd41c
Merge pull request #475 from github/no-more-sketches
Remove the ScopeGraph effect and define it with a constraint kind.
2020-02-11 12:48:18 -05:00
Patrick Thomson
7715fd46a9 Remove the ScopeGraph effect and define it with a constraint kind. 2020-02-11 12:30:19 -05:00
joshvera
a572f05494 Move these to runScopeGraph 2020-02-11 11:55:32 -05:00
joshvera
41a10ee4c7 Add qualified imports file 2020-02-07 22:23:50 -05:00
joshvera
164333dbb7 import Analysis.Name 2020-02-07 22:23:36 -05:00
joshvera
08cad385f3 Add State effect to scopeGraphModule 2020-02-07 22:23:22 -05:00
joshvera
9be4d16eef Add State constraint to ToScopeGraph 2020-02-07 22:22:46 -05:00
joshvera
4a2275a68b Rename to newEdge 2020-02-07 22:22:31 -05:00
joshvera
bce4e81741 Add Reader effect to ScopeGraph type 2020-02-07 22:22:24 -05:00
joshvera
095ea82a91 Imports 2020-02-07 22:22:13 -05:00
joshvera
9a9d8a9d3b Remove old currentScope 2020-02-07 22:21:52 -05:00
joshvera
c148941e13 Add newReference 2020-02-07 22:21:39 -05:00
joshvera
639fac1a74 rename to newEdge 2020-02-07 22:21:23 -05:00
joshvera
6ea34352e4 Add HasSpan to Reference 2020-02-07 22:20:02 -05:00
joshvera
59e12e2ccc add newReference 2020-02-07 22:19:51 -05:00
joshvera
5dc46a5f42 add expectedQualifiedImport 2020-02-07 21:36:15 -05:00
joshvera
b0e272e91a stub in spans 2020-02-07 21:36:07 -05:00
joshvera
392742961f docs 2020-02-07 18:30:28 -05:00
joshvera
fe18cdaed2 formatting 2020-02-07 18:13:43 -05:00
joshvera
c3e8a15b81 Update Reference
should probably remove ReferenceInfo?
2020-02-07 18:10:33 -05:00
joshvera
d78386f5a2 create new references in qualified import statements 2020-02-07 18:09:46 -05:00
joshvera
a77bcc9133 call newReference in Py.Identifier 2020-02-07 18:09:15 -05:00
joshvera
0ac1ce55e1 Add newReference 2020-02-07 18:04:59 -05:00
Patrick Thomson
06e8c6ecaa Break up Data.ScopeGraph and reorg semantic-scope-graph. 2020-02-07 15:08:33 -05:00
Josh Vera
f6c7c5e870
Merge pull request #473 from github/import-holes
Import holes
2020-02-07 13:50:26 -05:00
joshvera
1aab661b0f fix Void conflicts 2020-02-07 12:28:21 -05:00
joshvera
317c0c1473 stub in other cases 2020-02-07 10:53:20 -05:00
joshvera
58198d5647 remove L suffix from EdgeLabel.Void 2020-02-06 17:39:37 -05:00
joshvera
7aa975624a bump the store 2020-02-06 15:49:34 -05:00
joshvera
ff3e6973f9 also redundant 2020-02-06 15:33:18 -05:00
joshvera
c3dac243c2 remove redundant import 2020-02-06 15:30:27 -05:00
joshvera
07c944eb8e remove import 2020-02-06 15:21:02 -05:00
joshvera
a8871b69eb stylish-haskell 2020-02-06 14:53:41 -05:00
joshvera
ff1d8a73ab Merge remote-tracking branch 'origin/master' into import-holes 2020-02-06 14:53:32 -05:00
Patrick Thomson
3e135837fd
Merge pull request #470 from github/macro-madness
Silence REPL macro-redefined warnings from the C compiler.
2020-02-06 14:25:59 -05:00
joshvera
1036b3a4d7 addImportHole adds an additional VoidL edge 2020-02-05 21:29:37 -05:00
joshvera
0bc0a638b3 document addImportEdge 2020-02-05 21:11:15 -05:00
joshvera
a47186f38d add a base case for importEdge 2020-02-05 21:06:58 -05:00
joshvera
66ee2cf54d use addImportHole internally 2020-02-05 21:04:03 -05:00
joshvera
34186bced7 Remove sketches 2020-02-05 21:00:11 -05:00