1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

27138 Commits

Author SHA1 Message Date
Rick Winfrey
565fbfd2d0 Export Relation 2018-12-12 16:22:33 -08:00
Rick Winfrey
8e520132ce Simplify match predicate now we use (Data address, Position) for lookups 2018-12-12 16:22:27 -08:00
Rick Winfrey
e305f547bc Update insertDeclarationSpan and reuse insertScope 2018-12-12 16:21:46 -08:00
Rick Winfrey
59e72bda46 Fix up insertDeclarationScope and reuse insertScope helper 2018-12-12 16:21:31 -08:00
Rick Winfrey
5bca5276b8 Update 📝 for insertDeclarationScope 2018-12-12 16:21:00 -08:00
Rick Winfrey
4f9b717dad Destructure according to Data 2018-12-12 16:20:47 -08:00
Rick Winfrey
a69e93edb8 Use field accessor as we no longer work in (Declaration, (Span, Maybe scopeAddress)) 2018-12-12 16:20:27 -08:00
Rick Winfrey
9b3b6b70c0 Use correct field name 2018-12-12 16:19:33 -08:00
Rick Winfrey
4cb27b3eb6 Update type 2018-12-12 16:19:22 -08:00
Rick Winfrey
501f5ea9dc Update boolean check for finding the position of a declaration 2018-12-12 16:19:07 -08:00
Rick Winfrey
b8352790be Consistent ordering of params (Control.Abstract.ScopeGraph) 2018-12-12 16:18:22 -08:00
Rick Winfrey
53e6405486 Help to resolve ambiguities in the field names of Data by prefixing with data 2018-12-12 16:17:58 -08:00
Rick Winfrey
0650fa087f Remove address type variable on Relation for now 2018-12-12 16:17:30 -08:00
joshvera
09c3cce304 WIP 2018-12-12 17:13:52 -05:00
joshvera
c5a08df1c4 WIP add Relation to declaration and make a scope data type 2018-12-12 16:52:14 -05:00
joshvera
ea5d09bed5 Remove instance scope from klass 2018-12-12 16:51:43 -05:00
joshvera
b6dd4fe090 ++haskell-tree-sitter 2018-12-12 16:18:25 -05:00
joshvera
de1719c128 Merge remote-tracking branch 'origin/master' into new-expressions 2018-12-12 15:59:41 -05:00
Josh Vera
1be95883dc Merge pull request #2297 from github/bump-ts-go-and-ruby
Bump haskell-tree-sitter submodules.
2018-12-12 13:28:33 -05:00
joshvera
8bf1b40342 Merge branch 'bump-ts-go-and-ruby' of https://github.com/github/semantic into bump-ts-go-and-ruby 2018-12-12 12:51:05 -05:00
Patrick Thomson
02c66ad210 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-12 12:23:40 -05:00
Patrick Thomson
da711689af Merge pull request #2300 from github/unify-matching-rewriting
Unify APIs for matching and rewriting syntax trees.
2018-12-12 12:23:15 -05:00
Patrick Thomson
55870d8605 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-12 12:21:06 -05:00
Patrick Thomson
98fc4aa494 Merge branch 'master' into unify-matching-rewriting 2018-12-12 12:01:08 -05:00
Patrick Thomson
3135426fcd Use clone-example-repos to get Go and Ruby examples.
Go tests appear to be broken. Gonna file an issue about it.
2018-12-12 11:14:16 -05:00
Patrick Thomson
51331c505e turn the last spec back on and add docs 2018-12-11 18:10:57 -05:00
joshvera
93bed2ef2c Remove withScope call for now 2018-12-11 17:56:18 -05:00
joshvera
ec5c2b13c0 Add instance scope to Class 2018-12-11 17:55:35 -05:00
Patrick Thomson
684a752773 remove Semantic.Util.Rewriting 2018-12-11 17:47:13 -05:00
Patrick Thomson
e329cbe89a unify the last spec 2018-12-11 17:36:42 -05:00
Patrick Thomson
1de0e9ef09 move specs around 2018-12-11 17:21:39 -05:00
Patrick Thomson
1f44f81acc Unify Control.Rewriting and Control.Matching. 2018-12-11 17:12:24 -05:00
joshvera
18367e0ffb fix type errors in tests 2018-12-11 16:51:21 -05:00
Josh Vera
d26c96b6bf Merge branch 'master' into bump-ts-go-and-ruby 2018-12-11 15:52:02 -05:00
Josh Vera
5ee62d43c6 Merge pull request #2298 from github/simplify-module-tables
Simplify module tables
2018-12-11 15:51:43 -05:00
Patrick Thomson
6001ae38b5 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-11 15:10:47 -05:00
joshvera
6d91a3283c Add cases to resumingEvalError 2018-12-11 13:15:56 -05:00
joshvera
9508518acf Merge remote-tracking branch 'origin/master' into new-expressions 2018-12-11 13:13:37 -05:00
Rob Rix
4c796843e7 🔥 all the non-empty lists in the specs. 2018-12-11 13:07:45 -05:00
Rob Rix
2a43629aa6 🔥 Merging. 2018-12-11 13:05:01 -05:00
Rob Rix
0e8a0b65e7 Persist a single module result in the module table. 2018-12-11 13:04:56 -05:00
Rob Rix
511fe0e3b1 🔥 the FIXME in evaluate. 2018-12-11 13:01:37 -05:00
Josh Vera
0cc62300da Merge pull request #2294 from github/evaluate-to-values
Evaluate to values
2018-12-11 10:29:55 -05:00
Rob Rix
35fd93be1c Merge branch 'master' into evaluate-to-values 2018-12-11 09:12:48 -05:00
Josh Vera
39a9e6cb0f Merge pull request #2190 from github/heap-frames
Heap Frames
2018-12-10 17:22:26 -05:00
Patrick Thomson
f1d5c94929 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-10 17:08:20 -05:00
joshvera
e0a11fac91 Fix heap test since we construct one for a console namespace now 2018-12-10 16:58:08 -05:00
joshvera
6ba7719c79 Add comments 2018-12-10 16:57:20 -05:00
joshvera
38c0c72654 Add Namespace to scopedEnvironment 2018-12-10 16:53:16 -05:00
joshvera
aa68bf8b34 Add console.log back to TypeScript 2018-12-10 16:53:05 -05:00