1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
Commit Graph

25670 Commits

Author SHA1 Message Date
joshvera
c61c592ef6 Prefer import edges over parent edges 2018-09-13 18:27:19 -04:00
Timothy Clem
a6ce4f672f Docs and sort out a common Duration datatype 2018-09-13 14:51:32 -07:00
joshvera
0cdbd1e51d Run a statements children within its scope 2018-09-13 17:46:59 -04:00
joshvera
442fe39725 Run the class's children in its scope 2018-09-13 17:46:46 -04:00
joshvera
8d89393e49 Add Ord constraint 2018-09-13 17:46:25 -04:00
joshvera
423a82481d Pass an action to create so we can pop child scopes off 2018-09-13 17:42:18 -04:00
joshvera
cc994b0af9 Make currentScope optional so we can have empty graphs 2018-09-13 17:41:58 -04:00
joshvera
f902cac04f Use an empty graph when resuming a load error 2018-09-13 17:41:45 -04:00
Timothy Clem
8cd50358be Align 2018-09-13 14:20:58 -07:00
Timothy Clem
7e1c7a1c84 Timeout effect 2018-09-13 14:20:42 -07:00
Timothy Clem
64f2aa9f84 Merge pull request #2171 from github/array-initializer-children
Fix infinite loop: Match children of ArrayInitializer
2018-09-13 13:15:24 -07:00
Timothy Clem
18249a0a19 Merge branch 'master' into array-initializer-children 2018-09-13 12:54:50 -07:00
Patrick Thomson
b442d868a8 Merge pull request #2170 from github/simplify-reprinter
Enhance and simplify reprinting pipeline
2018-09-13 15:47:59 -04:00
Patrick Thomson
39d79fb882 remove boolean blindness 2018-09-13 15:18:24 -04:00
Timothy Clem
b78abb48da Need to match children of ArrayInitializer 2018-09-13 10:45:27 -07:00
joshvera
82db9f805e Emit Statements syntaxes for statementBlock in TypeScript
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-09-12 20:45:38 -04:00
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