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

4459 Commits

Author SHA1 Message Date
Patrick Thomson
27d5650489 Remove Data.Term and Data.AST.
These didn't get included in #577 because that patch was getting out
of control. Note that we can now drop the dependency on `fastsum`.
2020-06-24 15:13:30 -04:00
Patrick Thomson
ef8d7c3ce4 Fix tests. 2020-06-24 13:15:08 -04:00
Patrick Thomson
33943c1542 Remove the Control.Abstract and Data.Abstract hierarchies. 2020-06-24 12:48:23 -04:00
Patrick Thomson
a127404bb0 a few more otiose items 2020-06-24 12:37:10 -04:00
Patrick Thomson
1d3587d787 Get the specs working. 2020-06-24 11:36:01 -04:00
Patrick Thomson
3e4d048134 iterate 2020-06-24 11:30:17 -04:00
Patrick Thomson
af28098a73 more assignment excision and fix Parsing.Parser 2020-06-24 11:18:34 -04:00
Patrick Thomson
ff0d027d66 unused variables 2020-06-24 08:27:25 -04:00
Patrick Thomson
f7123c8322 unused test function 2020-06-23 17:31:34 -04:00
Timothy Clem
941527c261 Remove a la carte diffing and graphing 2020-06-11 13:53:12 -07:00
Timothy Clem
ba9715281c Remove aLaCarteLanguageModes from tests and benchmarks 2020-06-11 09:20:47 -07:00
Timothy Clem
7348d95c46 Remove language mode and json tree and graph commands 2020-06-11 09:20:47 -07:00
Timothy Clem
4438471180 One more fixture to update 2020-06-04 14:36:24 -07:00
Timothy Clem
72063229f4 Fixture changed again 2020-06-04 14:23:21 -07:00
Timothy Clem
acc1fa421d Fix up tests 2020-06-04 11:17:53 -07:00
Max Brunsfeld
373590a920 Update symbols test fixtures to reflect node_type addition 2020-06-03 10:18:59 -07:00
Jinxuan Zhu
eebc48403b Refactor the implementation of joinPaths 2020-05-01 23:51:02 -05:00
Jinxuan Zhu
7f18e26e2f Refactor the tests of joinPaths 2020-05-01 22:24:19 -05:00
Timothy Clem
2c94d0a498 Fix up fixtures 2020-04-28 12:08:51 -07:00
Timothy Clem
24f78b50b1 Fix up the spec to assert proper Locs 2020-04-27 13:43:15 -07:00
Timothy Clem
b3d7de8b51 Properly separate source line Loc from identifier Loc 2020-04-27 09:14:24 -07:00
Jinxuan Zhu
103e9ca146 Change names of joinPathf 2020-04-19 23:11:17 -05:00
Jinxuan Zhu
e6c69de1db Refactor definition of Module to use pathtype
* Refactor Module Resolve
* Refactor Module List
* Refactor Related Code
2020-04-16 23:41:06 -05:00
Timothy Clem
39164f047b Remove diff toc from proto datatypes 2020-04-03 11:25:11 -07:00
Patrick Thomson
635d3d58b6 Remove table of contents support. 2020-03-31 13:55:26 -04:00
Rick Winfrey
7b588d89c5
Merge pull request #518 from github/bump-semantic-source
Bump semantic-source
2020-03-27 11:40:44 -07:00
Patrick Thomson
577f9d2564 Add an orphan to propitiate the tests. 2020-03-27 12:41:51 -04:00
Patrick Thomson
c872660ffc
Merge pull request #519 from zhujinxuan/pathtype-all
Replace FilePath with pathtype for ModulePath, Blob and Project
2020-03-27 12:16:14 -04:00
Patrick Thomson
f9dd7e8922 Remove readBlobsFromDir and codeNavLanguages.
These weren't being called anywhere but the tests, and as such are
little more than make-work whenever we add new features.
2020-03-24 10:46:56 -04:00
zhujinxuan
769b33130b Use Path.AbsRel For Blob, ModuleInfo and Project
- Use Path.AbsRelFile for Blob
- Use Path.AbsRelDir for Project
- Use Path.AbsRelFile for ModuleInfo and ModulePath
- semantic.cabal test-suite test is passed
2020-03-22 13:39:10 -04:00
Timothy Clem
a09b34de5f
Merge pull request #497 from github/incremental-sg-api
Introduce the beginning of the scope graph API
2020-03-05 09:49:12 -08:00
Timothy Clem
5923c38fbf New extensions 2020-03-05 08:33:28 -08:00
Douglas Creager
90c0008e12 Extract precise tags from Python f-strings
Python f-strings can contain embedded expressions:

``` python
def x():
    return 5
f"hello there {x()} people"
```

The precise tagging definitions now traverse into f-strings, and any
interpolations that they contain, so that we can generate tags for any
function calls that appear in them.
2020-02-25 18:16:06 -05:00
Josh Vera
c7c6df0828
Merge branch 'master' into markdone 2020-02-13 14:32:29 -05:00
Patrick Thomson
f75fff62ef Lost this import. 2020-02-13 00:06:18 -05:00
Patrick Thomson
f278647d37 disable this test 2020-02-12 23:50:16 -05:00
Patrick Thomson
764e172b98 Merge remote-tracking branch 'origin/master' into precise-parsing-by-default 2020-02-12 19:17:09 -05:00
Patrick Thomson
f722cb0897 Move Data.Project to semantic-analysis.
I need this for semantic-scope-graph so that each graph can have
correct `ModuleInfo` fields. Straightforward.
2020-02-11 12:52:44 -05:00
Patrick Thomson
2b78068978 Merge remote-tracking branch 'origin/master' into markdone 2020-02-06 14:43:56 -05:00
Ayman Nadeem
699f8c343b add JSON Grammar datatype 2020-01-29 15:44:53 -05:00
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
Patrick Thomson
49efa8c8bc Fix the tests. 2020-01-28 15:51:07 -05:00
Patrick Thomson
953473088d Merge remote-tracking branch 'origin/master' into name-name-go-away 2020-01-28 15:07:05 -05:00
Rob Rix
2e9cd2c006
Merge pull request #439 from github/tower-of-babble
Remove Data.Blob.File in favor of Analysis.File and use semantic-source’s Language type.
2020-01-28 14:09:26 -05:00
Ayman Nadeem
4bb39cba96 change Data.Graph to Data.Graph.Algebraic 2020-01-28 13:25:59 -05:00
Timothy Clem
deafddedde Span changed? 2020-01-27 16:06:49 -08:00
Patrick Thomson
0acaae2529 dodgy import 2020-01-26 11:30:28 -05:00
Patrick Thomson
fdeb2bcb21 Propitiate the test suite. 2020-01-26 11:21:59 -05:00
Patrick Thomson
8fcf35a86d Another import. 2020-01-24 17:17:53 -05:00
Patrick Thomson
7c3b71a604 Move semantic-specific stuff back to Data.Language. 2020-01-24 16:18:58 -05:00