1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
Commit Graph

25882 Commits

Author SHA1 Message Date
joshvera
8e1e9579da lints 2018-09-14 18:16:54 -04:00
joshvera
a4f84f4371 Remove scratch Scope file 2018-09-14 18:14:34 -04:00
joshvera
b70dd31027 Fix Declarations1 MemberAccess instance 2018-09-14 18:14:02 -04:00
joshvera
eb71b512b3 Fix test type errors 2018-09-14 18:04:08 -04:00
joshvera
41881f3057 Add edges to superclasses 2018-09-14 17:06:26 -04:00
Timothy Clem
d2524e194d Merge branch 'master' into assignment-timeout 2018-09-14 14:03:37 -07:00
Timothy Clem
aea6e81ad7 This can use our timeout effect now 2018-09-14 14:01:15 -07:00
Timothy Clem
d16c07dfc6 Refine our Duration api 2018-09-14 13:50:02 -07:00
joshvera
ce2263d5e5 Set a declaration's scope on assignment 2018-09-14 15:12:29 -04:00
Patrick Thomson
d1cc400dc0 add spec file 2018-09-14 13:10:22 -04:00
Patrick Thomson
b8b8fe01c9 port over Control.Rewriting 2018-09-14 12:47:21 -04:00
joshvera
d19b861cbe Eval instance for New 2018-09-14 11:35:43 -04:00
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