1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 02:14:20 +03:00
Commit Graph

25704 Commits

Author SHA1 Message Date
joshvera
360a9b0317 Store the Span of last evaluated child term in a State
So we can declare a child term's range in the scope graph when a declaration occurs.

Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-09-12 19:56:02 -04:00
joshvera
d6e98cc08a Add class declarations to the scope graph 2018-09-12 17:01:12 -04:00
joshvera
95ac3655cb add helper functions 2018-09-12 16:28:39 -04:00
joshvera
d5926dfabf don't specialize to Name 2018-09-12 16:22:23 -04:00
joshvera
daa64439f3 simplify 2018-09-12 16:19:26 -04:00
joshvera
0cdb6f9707 Add scope graph to ModuleResult 2018-09-12 12:48:58 -04:00
Patrick Thomson
34a5dc76a6 unused modules 2018-09-12 12:34:19 -04:00
Patrick Thomson
c15be1c39d stylish-haskell 2018-09-12 12:33:02 -04:00
Patrick Thomson
fd4abae735 typos 2018-09-12 12:28:58 -04:00
Patrick Thomson
47f6c1beb1 Share helper functions between Ruby and Python pretty-printer. 2018-09-12 12:23:00 -04:00
Patrick Thomson
7129435dc8 Merge remote-tracking branch 'origin/master' into simplify-reprinter
also incorporates a number of changes. oops.
2018-09-12 12:14:01 -04:00
joshvera
ba3ae715fe Store Spans in the scope graph 2018-09-12 11:51:17 -04:00
Patrick Thomson
a6b9b3624d Rename the Fragment constructor to Run 2018-09-12 11:51:14 -04:00
Patrick Thomson
d6eaae9555 further cleanup and refinement of tests 2018-09-12 11:46:41 -04:00
Patrick Thomson
d95d2a453e move compile 2018-09-12 11:22:09 -04:00
joshvera
a6f300813a Allow creating scopes 2018-09-12 11:11:14 -04:00
joshvera
3d480ee358 brackets 2018-09-12 10:16:52 -04:00
joshvera
aa403de87a Implement adding references to declarations 2018-09-11 20:01:51 -04:00
Patrick Thomson
a65b436775 Simplify contextualizing. 2018-09-11 19:00:05 -04:00
Timothy Clem
30dc311e13 Merge pull request #2167 from github/adj-list-for-parse-trees
New adjacency graph JSON responses for trees and diffs AND MORE!
2018-09-11 15:58:13 -07:00
Patrick Thomson
0802e0a9f2 Use a deep embedding for Tokenize. 2018-09-11 18:54:37 -04:00
Timothy Clem
06029f2be6 Rename to source/target for consistently 2018-09-11 15:29:24 -07:00
joshvera
287a7e8b7f Add declare to ScopeEnv 2018-09-11 18:24:23 -04:00
Timothy Clem
4dedb928b2 New command line flag json-graph 2018-09-11 15:20:19 -07:00
Timothy Clem
77d296c5f1 Call error here instead of undefined 2018-09-11 15:19:02 -07:00
Timothy Clem
177ce176e4 More extra imports 2018-09-11 11:33:59 -07:00
Timothy Clem
b9e2491d74 Extra space 2018-09-11 10:56:04 -07:00
Timothy Clem
0eff6f70ad Remove these specialized diff functions 2018-09-11 10:49:56 -07:00
Timothy Clem
cc55bfaf83 Merge branch 'master' into adj-list-for-parse-trees 2018-09-11 10:42:42 -07:00
Timothy Clem
3bb5a8ea39 Remove extra import 2018-09-11 10:40:52 -07:00
Timothy Clem
2e48678e6b Rework diff grpc api as well, enable for all supported langauges 2018-09-11 10:32:29 -07:00
Timothy Clem
f8f85d17f0 Fix warnings 2018-09-11 07:53:18 -07:00
Timothy Clem
2a0f69f225 Extra import 2018-09-11 07:30:23 -07:00
Timothy Clem
b985b15552 Always with the lints 2018-09-10 17:32:58 -07:00
Timothy Clem
8096bfc8f7 Annotations in adj list rep (grpc) 2018-09-10 17:28:42 -07:00
Timothy Clem
64ca4e2c67 Clean up the cleanup 2018-09-10 17:15:46 -07:00
joshvera
3fa0a07585 add a ScopeEnv effect 2018-09-10 18:50:51 -04:00
joshvera
1eac23ce2e Don't parameterize scopes by name 2018-09-10 18:50:40 -04:00
Timothy Clem
6b3401eb96 Lints 2018-09-10 15:50:24 -07:00
Timothy Clem
f4aefedcd4 Merge remote-tracking branch 'origin/master' into adj-list-for-parse-trees 2018-09-10 15:43:46 -07:00
Timothy Clem
addc6a6c6f Fix a few more go fixtures 2018-09-10 15:41:16 -07:00
Timothy Clem
2c9407757f Turn on the rest of our langauges for grpc parse trees 2018-09-10 15:38:37 -07:00
joshvera
a1a2df1241 Implement scope graphs 2018-09-10 16:17:57 -04:00
Timothy Clem
c806be4cfc Clean up, expand grpc support to larger language list 2018-09-10 11:43:42 -07:00
Timothy Clem
38e3cba57a Messy, but working multi-lang grpc parsing 2018-09-10 11:15:52 -07:00
Timothy Clem
ceed3b0ae4 Fix a few test fixtures due to structure changes 2018-09-10 11:15:34 -07:00
Timothy Clem
8d4eab66b9 Remove comment 2018-09-07 17:10:18 -07:00
joshvera
448d94aa8f add deleting and heap sizes 2018-09-07 19:46:07 -04:00
joshvera
31040fa553 add frame insertion 2018-09-07 18:55:51 -04:00
Timothy Clem
636b393b80 Sort out inclusion of Java and Go in grpc 2018-09-07 15:12:47 -07:00