1
1
mirror of https://github.com/github/semantic.git synced 2024-12-15 01:51:39 +03:00
Commit Graph

26932 Commits

Author SHA1 Message Date
joshvera
0cd64662f2 Rename Address to Slot 2018-11-29 20:07:30 -05:00
joshvera
17c4bf350c Add lookupObjectMembers function to tests 2018-11-29 19:37:20 -05:00
joshvera
b2bbd0e78c Filter Export edges so we don't traverse them in the tests 2018-11-29 19:36:58 -05:00
joshvera
13802ab4b1 Remove traceShowM 2018-11-29 19:36:41 -05:00
joshvera
1a96a992cc Insert import references from the perspective of the module frame 2018-11-29 18:57:06 -05:00
joshvera
70fa31f11e Fix expectation of sequence expression test 2018-11-29 18:38:32 -05:00
joshvera
1e1813b180 Iterate through all modulePaths 2018-11-29 13:39:20 -05:00
joshvera
a9a0461a76 Eval instance for python QualifiedAliasedImport 2018-11-29 13:34:08 -05:00
joshvera
96dde3fc9e Change these to shouldContain
since print shows up otherwise
2018-11-29 13:16:34 -05:00
joshvera
ca402c9071 It's called xit 2018-11-29 13:05:54 -05:00
joshvera
6ad4cae09e Disable the PHP tests 2018-11-29 13:02:12 -05:00
joshvera
68697419ec Export traceShowM and traceM from SpecHelpers 2018-11-29 13:01:11 -05:00
joshvera
716bebd985 Remove lexical scope from Statements node 2018-11-29 13:00:53 -05:00
joshvera
168c31525b Fix type errors 2018-11-29 12:31:42 -05:00
joshvera
5f20ae654a pass scopeAndFrame 2018-11-29 11:26:51 -05:00
joshvera
07c6003693 PHP tests 2018-11-29 11:10:16 -05:00
Rick Winfrey
9a7c739a24 Get Python tests compiling 2018-11-28 17:44:02 -08:00
Rick Winfrey
2b1ed70230 Fix up TypeScript tests 2018-11-28 17:39:01 -08:00
Rick Winfrey
068b79a923 Use qualified lookupDeclaration 2018-11-28 17:38:52 -08:00
Rick Winfrey
4931670c81 Fix up Ruby tests 2018-11-28 16:59:05 -08:00
Rick Winfrey
c350ae7377 TraceByIgnoringC 2018-11-28 16:55:26 -08:00
joshvera
96badd080f fix this test
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:48:23 -05:00
joshvera
65a8949a06 Fix the shape of scope and heap outputs in testEvaluating
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:47:10 -05:00
joshvera
456efeca9d Change the order of ModuleResult 2018-11-28 17:27:42 -05:00
joshvera
49b4a1494f Remove currentFrame from Heap 2018-11-28 17:10:35 -05:00
joshvera
8dd5a7e295 WIP remove current scope and frame from Heap and ScopeGraph
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 13:31:40 -05:00
joshvera
d32019f726 docs
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 12:33:50 -05:00
joshvera
bd0adfc986 Move runAllocator and moduleInfo reader to evalModule from runInModule
So we can initialize scopes and frames for modules in evalModule

Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-11-28 12:19:15 -05:00
joshvera
a394be553e Revert "Surgery on evaluate (almost there!)"
This reverts commit c080f961dca8ffc535e6155005b1c50abda94478.
2018-11-28 12:04:20 -05:00
Rick Winfrey
dea848f1ea Surgery on evaluate (almost there!)
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:54 -08:00
Rick Winfrey
b96c32ae9c Add AbstractHole for scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:36 -08:00
Rick Winfrey
817aa6550b Run allocator effect globally
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:13 -08:00
Rick Winfrey
999ef65221 Add Reader effect
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:46 -08:00
Rick Winfrey
f4dd062f51 Update Ruby Syntax to take scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:36 -08:00
Rick Winfrey
9b93fcd69b No longer using bindAll or ScopeError
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:14 -08:00
Rick Winfrey
b7bd00b682 Update Go syntax to take scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:17:57 -08:00
Rick Winfrey
124c7593f4 Handle scope and frame edges
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:17:00 -08:00
Rick Winfrey
93b06f9a58 🔥 unnecessary constraint
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:16:08 -08:00
Rick Winfrey
68a5978c0a Fix up PHP evaluatable instances
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:49:08 -08:00
Rick Winfrey
92b5d82cfb Update Python QualifiedImport for scope / frames
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:42:07 -08:00
Rick Winfrey
f74b7810cd Handle RelativeQualifiedName Python imports for scopes / frames
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:37:38 -08:00
Rick Winfrey
c9d0c00b13 Set the correct scope when inserting import references
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:37:08 -08:00
Timothy Clem
74e3a7f499 Merge pull request #2271 from github/minor-symbols-improvements
Minor improvements to symbols output
2018-11-27 15:17:39 -08:00
Rick Winfrey
acafd59fed Use strict Map
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:12:25 -08:00
Rick Winfrey
4317960df3 Update TypeScript and JavaScript scope / frames for qualified imports
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:12:16 -08:00
Rick Winfrey
07c1b2202b Update scope graph and frame for Python imports with or without aliases
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:11:46 -08:00
Rick Winfrey
0490f621b3 No longer need maybe 2018-11-27 14:14:10 -08:00
Rick Winfrey
356790b075 Add Data.Map 2018-11-27 14:13:58 -08:00
Rick Winfrey
3969261554 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-11-27 13:32:51 -08:00
Rob Rix
1d86bdb6ef Merge branch 'master' into minor-symbols-improvements 2018-11-27 15:17:05 -05:00