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

515 Commits

Author SHA1 Message Date
joshvera
639fac1a74 rename to newEdge 2020-02-07 22:21:23 -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
fe18cdaed2 formatting 2020-02-07 18:13:43 -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
Patrick Thomson
06e8c6ecaa Break up Data.ScopeGraph and reorg semantic-scope-graph. 2020-02-07 15:08:33 -05:00
joshvera
317c0c1473 stub in other cases 2020-02-07 10:53:20 -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
ff1d8a73ab Merge remote-tracking branch 'origin/master' into import-holes 2020-02-06 14:53:32 -05:00
joshvera
34186bced7 Remove sketches 2020-02-05 21:00:11 -05:00
joshvera
d8bad61c1f fix tests 2020-02-05 19:52:47 -05:00
joshvera
0c4e86cb11 Call insertEdge in expectedImportHole 2020-02-05 19:47:24 -05:00
joshvera
f927f0b8c0 Rename Sketch effect to a ScopeGraph effect 2020-02-05 19:46:58 -05:00
joshvera
2413590790 add addImportEdge and addImportHole 2020-02-05 18:35:44 -05:00
joshvera
b95a575ae2 Change insertEdge to take 1 edge 2020-02-05 18:03:53 -05:00
Patrick Thomson
e4f58a7827 Merge remote-tracking branch 'origin/master' into hands-on-my-property 2020-02-05 10:48:37 -05:00
Patrick Thomson
147245d03e
Merge pull request #458 from github/the-locative-case
Preserve Python AST span information in scope graph.
2020-02-04 23:30:16 -05:00
Patrick Thomson
fa90f502f3 Merge remote-tracking branch 'origin/master' into traversty 2020-02-04 18:26:19 -05:00
Rob Rix
790431ac74
Tagging uses Traversable1 instead of GTraversable1. 2020-02-04 13:56:19 -05:00
Rob Rix
7a2cc7fb7a
Move Traversable1 into semantic-ast. 2020-02-04 13:35:35 -05:00
Patrick Thomson
8efca9fbee Merge branch 'orphan-no-longer' into the-locative-case 2020-02-04 13:33:56 -05:00
Rob Rix
924ada5744
Apply stylish-haskell. 2020-02-04 13:29:33 -05:00
Patrick Thomson
34bbbb830d Stray import. 2020-02-04 13:15:51 -05:00
Patrick Thomson
4fc5b720fc Revert "Move DeclProperties to ScopeGraph.Properties.Declaration."
This reverts commit 546bfb2581.
2020-02-04 12:33:01 -05:00
Patrick Thomson
0d5bf3716f Bump fused-effects version and remove orphan instance. 2020-02-04 12:29:57 -05:00
Patrick Thomson
ffb1f828c6 Merge remote-tracking branch 'origin/master' into the-locative-case 2020-02-04 12:13:12 -05:00
Ayman Nadeem
114316c6c8
Merge pull request #448 from github/my-grate
Migrating ASTs to Semantic 🧀
2020-02-03 16:31:40 -05:00
Patrick Thomson
1672c57768 Move over Function and Reference properties. 2020-02-03 11:19:54 -05:00
Patrick Thomson
4bfbd5407e Move DeclProperties to ScopeGraph.Properties.Declaration. 2020-02-03 11:11:21 -05:00
Patrick Thomson
546bfb2581 Move DeclProperties to ScopeGraph.Properties.Declaration. 2020-02-03 11:10:31 -05:00
Patrick Thomson
ccedf13bde Use some selector names in this FunProperties. 2020-02-03 10:33:20 -05:00
Patrick Thomson
b21289b55b Add lens dependency. 2020-02-03 10:14:53 -05:00
Ayman Nadeem
ceaff3555f Update semantic-python.cabal 2020-01-31 15:17:39 -05:00
Ayman Nadeem
e4805a96b2 Update semantic-python.cabal 2020-01-31 15:16:18 -05:00
Patrick Thomson
c53416c5f7 Merge fallout. 2020-01-31 13:28:53 -05:00
Patrick Thomson
76ccbc5f00
Merge branch 'master' into function-scopes 2020-01-31 13:15:19 -05:00
Patrick Thomson
45c81efd2c Preserve Python AST span information in scope graph.
- [ ] Depends on #451.
2020-01-31 13:11:59 -05:00
Patrick Thomson
7ceda6c631 Merge fallout. 2020-01-31 12:40:50 -05:00
Patrick Thomson
9cf9c87397 Merge remote-tracking branch 'origin/function-scopes' into the-locative-case 2020-01-31 12:40:19 -05:00
Patrick Thomson
2c71d82636 Enter assignment RHS values during scope graphing.
We were neglecting to enter this RHS. A happy little call to `maybe`
addresses this.
2020-01-31 12:36:16 -05:00
Ayman Nadeem
9c31c3fcf8 change all semantic-LANG cabal files to depend on semantic-codegen instead of semantic-ast 2020-01-30 17:44:09 -05:00
joshvera
e6460394e8 Create Import edge paths in Import statements 2020-01-30 17:06:34 -05:00
Ayman Nadeem
61e7155fb3 add semantic-ast to semantic-LANG library dependencies 2020-01-30 16:48:35 -05:00
Ayman Nadeem
0095b80ff8 bring addDependentFileRelative into scope for all Grammar files 2020-01-30 13:49:19 -05:00
Ayman Nadeem
5f4d11bdf1 change function name 2020-01-30 13:44:27 -05:00
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
joshvera
fed5ebce98 remove more imports 2020-01-29 14:45:02 -05:00
joshvera
be4ba8063d stub in ImportFromStatement 2020-01-29 14:43:17 -05:00