1
1
mirror of https://github.com/github/semantic.git synced 2025-01-01 19:55:34 +03:00
Commit Graph

25512 Commits

Author SHA1 Message Date
joshvera
ce2263d5e5 Set a declaration's scope on assignment 2018-09-14 15:12:29 -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
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
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
joshvera
ba3ae715fe Store Spans in the scope graph 2018-09-12 11:51:17 -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
joshvera
287a7e8b7f Add declare to ScopeEnv 2018-09-11 18:24:23 -04: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
joshvera
a1a2df1241 Implement scope graphs 2018-09-10 16:17:57 -04: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
joshvera
6c9392514b Look up the declaration one frame up 2018-09-07 18:01:07 -04:00
joshvera
7e56ae520d Implement frames 2018-09-07 17:53:18 -04:00
joshvera
3ccdbdb692 Merge remote-tracking branch 'origin/master' into scopes-and-frames 2018-09-05 12:54:45 -04:00
joshvera
01af82bf53 WIP 2018-09-04 12:43:14 -04:00
Josh Vera
ff7328b1c9 Merge pull request #2162 from github/proto-rework
Proto rework
2018-09-04 12:14:41 -04:00
Josh Vera
c35aa16de6 Merge branch 'master' into proto-rework 2018-09-04 11:34:51 -04:00
Timothy Clem
faebfbcc09 Use better haskell code gen 2018-08-30 15:17:05 -07:00
Timothy Clem
be2dde5e58 Try a new approach for proto file naming 2018-08-30 15:17:04 -07:00
Timothy Clem
91d60c8033 Merge pull request #2161 from github/no-ruby-pipeline
Don't do miniRuby either
2018-08-30 15:15:22 -07:00
Timothy Clem
b3e593fc55 Merge branch 'master' into no-ruby-pipeline 2018-08-30 14:31:00 -07:00
Rick Winfrey
b2d64eaab8 Merge pull request #2154 from github/haddock-to-docs
Add `script/publish-haddock`
2018-08-30 14:24:18 -07:00
Timothy Clem
42d5b26c60 Merge branch 'master' into haddock-to-docs 2018-08-30 14:07:32 -07:00
Timothy Clem
bac8548f69 Merge pull request #2157 from github/partial-results
Partial results
2018-08-30 14:05:08 -07:00
Timothy Clem
18140cd1e6 Merge branch 'master' into partial-results 2018-08-30 13:12:53 -07:00
Timothy Clem
df17d9ffda Don't do miniRuby either 2018-08-30 13:10:18 -07:00
Timothy Clem
90355d12af Merge branch 'master' into haddock-to-docs 2018-08-30 13:04:11 -07:00
Timothy Clem
ccb27c649e Merge pull request #2104 from github/source-aware-reprinter
Add source-aware reprinting engine.
2018-08-30 13:00:40 -07:00
Timothy Clem
099faacbce Re-work these tests now that we return if parse fails 2018-08-30 12:51:29 -07:00
Timothy Clem
bec7e0ea88 Not needed 2018-08-30 11:45:24 -07:00
Timothy Clem
a34cb2694c Refactor grpc parse and include new errors 2018-08-30 10:18:49 -07:00
Timothy Clem
a96d8cad29 Include full SomeException and extend to other grp languge parsers 2018-08-30 10:18:25 -07:00
Timothy Clem
f792b93b89 Include more info in ParserTimedOut 2018-08-30 10:17:59 -07:00
Timothy Clem
d38e453a05 gRPC parse interface also returns partial results (ruby only) 2018-08-29 14:29:32 -07:00
Timothy Clem
28b45b71d8 WIP - Return partial results from json parse blobs 2018-08-29 13:41:47 -07:00