Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert TypedScopeCreator.FirstOrderFunctionAnalyzer to use ES6 node …
…traversals. One interesting change is that FunctionTypeBuilder.FunctionContents no longer contains data that does not pertain to FunctionTypeBuilder. Previously it had data about assigned and escaped variables that was only used by TypedScopeCreator. This change pulled out that data into TypedScopeCreator.AstBlockContents, which stores an optional FunctionContents (if the block has a FUNCTION node at its root). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188420187
- Loading branch information
1 parent
dae65ef
commit e0299e1
Showing
4 changed files
with
121 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.