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

26845 Commits

Author SHA1 Message Date
joshvera
7f4d4d0c40 Declare in concrete function again
Fixes subclass associated scope issue in subclasses.py
2018-12-03 17:58:48 -05:00
joshvera
4af4dd616b Implement Eval instance for classes
Add Class to scopedEnvironment
2018-12-03 17:39:45 -05:00
joshvera
16b6babe8a Remove this for unit tests
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-03 16:06:10 -05:00
joshvera
78c0344967 Add callGraphPythonProject
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-03 16:00:01 -05:00
joshvera
c505b53898 No need to declare multiple times
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-03 15:59:49 -05:00
joshvera
2d190d8ec9 Don't insert already declared names into a scope
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-03 15:59:38 -05:00
joshvera
fd502d5e34 enable graphingTerms
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-03 12:24:40 -05:00
Rick Winfrey
33a16ee1a2 Clean up unused imports 2018-11-30 16:23:43 -08:00
Rick Winfrey
b20e2d3f7e Export lists 2018-11-30 16:23:29 -08:00
Rick Winfrey
83a60c3fdf Don't need Semigroup here 2018-11-30 16:23:10 -08:00
Rick Winfrey
eefd90ce39 Export list 2018-11-30 16:22:57 -08:00
joshvera
983165b437 Remove redundant side effect test
Covered by "side effect only imports dont expose exports"
2018-11-29 20:19:40 -05:00
joshvera
b35e1a0718 change Address to Slot in tests 2018-11-29 20:16:29 -05:00
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