1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

20191 Commits

Author SHA1 Message Date
Rob Rix
52009b0c89 Merge branch 'package-abstraction' into resolved-symbols-in-import-graph 2018-04-02 18:02:31 -04:00
Rob Rix
0c3f3c351a 📝 pushOrigin. 2018-04-02 17:56:51 -04:00
Rob Rix
5b971ce463 📝 evaluatePackage. 2018-04-02 17:54:19 -04:00
Rob Rix
5667500a1a 📝 evaluatePackageBody. 2018-04-02 17:54:01 -04:00
Rob Rix
705a6b125f 📝 the Origin constructors. 2018-04-02 17:53:02 -04:00
Rob Rix
0c6bbc92e9 📝 Origin. 2018-04-02 17:49:43 -04:00
Rob Rix
4d66044cd7 📝 withSomeOrigin. 2018-04-02 17:48:32 -04:00
Rob Rix
76f4f79aab 📝 the SomeOrigin smart constructors. 2018-04-02 17:47:25 -04:00
Rob Rix
d298d63d75 📝 SomeOrigin. 2018-04-02 17:46:24 -04:00
Rob Rix
3a0f99bb17 📝 OriginType. 2018-04-02 17:45:49 -04:00
Rob Rix
b802247c48 Move OriginType up. 2018-04-02 17:44:48 -04:00
Rob Rix
f045f2e6a0 📝 liftCompareOrigin. 2018-04-02 17:44:21 -04:00
Rob Rix
2a85da46c3 Parameterize compareOrigins by the comparator. 2018-04-02 17:43:37 -04:00
Rob Rix
628c1a50b9 Define the Ord instance for SomeOrigin using compareOrigins. 2018-04-02 17:39:42 -04:00
Rob Rix
f028d48731 📝 originPackage. 2018-04-02 17:38:21 -04:00
Rob Rix
2c0807f0e5 📝 originModule. 2018-04-02 17:38:16 -04:00
Rob Rix
84dc109cde 📝 Origin. 2018-04-02 17:37:43 -04:00
Rob Rix
92116753dd Move the SomeOrigin constructors down next to SomeOrigin. 2018-04-02 17:36:11 -04:00
Rob Rix
e03461819c packageName is mandatory. 2018-04-02 17:35:33 -04:00
Rob Rix
fd8b9e6daf Move PackageBody up. 2018-04-02 17:34:42 -04:00
Rob Rix
d05e2b1e90 Project package info out of origins. 2018-04-02 17:34:15 -04:00
Rob Rix
aef145b55c Use withSomeOrigin to unpack the origin. 2018-04-02 17:33:53 -04:00
Rob Rix
4569b8a48b Define a helper to project values out of SomeOrigins. 2018-04-02 17:32:50 -04:00
Rob Rix
6d46f2f374 fromModules returns a PackageBody. 2018-04-02 17:32:07 -04:00
Rob Rix
5d6c57312e Split the evaluation of a package body out into a new function. 2018-04-02 17:30:04 -04:00
Rob Rix
9266439e7f Split a package body type out of Package. 2018-04-02 17:27:31 -04:00
Rob Rix
056a23a949 Move Version up. 2018-04-02 17:24:48 -04:00
Rob Rix
3fe2e91060 📝 PackageInfo. 2018-04-02 17:23:27 -04:00
Rob Rix
c732d30229 📝 Package. 2018-04-02 17:23:06 -04:00
Rob Rix
a96002bc25 Merge branch 'master' into package-abstraction 2018-04-02 17:13:12 -04:00
Rob Rix
851de212cb Merge pull request #1696 from github/symbol-resolution
Symbol resolution
2018-04-02 17:12:39 -04:00
Rob Rix
eec36b64ff Add the package to the graph. 2018-04-02 17:11:36 -04:00
Rob Rix
3b8ed8b1e6 Project package info out of origins. 2018-04-02 17:05:42 -04:00
Rob Rix
d1d70bf31f Merge branch 'master' into symbol-resolution 2018-04-02 17:03:34 -04:00
Rob Rix
a16f1f7a1d Draw edges between modules and symbol references. 2018-04-02 17:02:51 -04:00
Rob Rix
c90791c188 Use withSomeOrigin to unpack the origin. 2018-04-02 17:02:34 -04:00
Rob Rix
dfecb756fe Define a helper to project values out of SomeOrigins. 2018-04-02 16:55:06 -04:00
Rob Rix
e5de98d88c Evaluate to import graphs in a package. 2018-04-02 16:48:09 -04:00
Rob Rix
7a6169d321 Revert "Evaluate to import graphs under monovariant/typechecking assumptions."
This reverts commit 964d99d4064d53e58625839750d2e672b6b44635.
2018-04-02 16:46:39 -04:00
Rob Rix
b10872a79f 🔥 a redundant comment. 2018-04-02 16:36:28 -04:00
Rob Rix
a269856794 Define runAnalysis in terms of Control.Effect.run.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 16:02:51 -04:00
Rob Rix
cc2a151e8a Simplify the RunEffects instance to eliminate the final Eff.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 13:48:32 -04:00
Rick Winfrey
d732d8caf5 Merge pull request #1700 from github/bump-haskell-tree-sitter-0.11
Bump haskell tree sitter 0.11
2018-04-02 10:28:57 -07:00
Rob Rix
af00b4fea6 Evaluate to import graphs under monovariant/typechecking assumptions.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 11:23:06 -04:00
Patrick Thomson
748c0f2e14 Merge branch 'master' into bump-haskell-tree-sitter-0.11 2018-04-02 11:12:34 -04:00
Rob Rix
27b6ba5204 Resolution edges point from names to defining modules.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 11:05:17 -04:00
Rob Rix
fad3e6e4ef Add edges for symbols.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 10:59:19 -04:00
Rob Rix
78997cdeb3 Modify the import graph strictly.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 10:52:36 -04:00
Rob Rix
3d94cbfd66 Generalize lookupWith to arbitrary returns.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 10:44:14 -04:00
Rob Rix
752e8fa413 Add a helper for evaluating Python import graphs.
Co-Authored-By: Josh Vera <vera@github.com>
2018-04-02 10:33:24 -04:00