Tobias Koppers
77abab8c97
cleanup, renaming
2020-01-29 14:24:55 +01:00
Sergey Melyukov
432d338f9a
incapsulate tag variable
2020-01-27 18:46:23 +03:00
Sergey Melyukov
68a61677dc
move flatter algo into InnerGraph
2020-01-27 18:33:40 +03:00
Sergey Melyukov
721ce54bdf
incapsulating inner graph logic
2020-01-23 15:59:27 +03:00
Sergey Melyukov
533d7fced7
fix pr comments
2020-01-21 20:50:27 +03:00
Sergey Melyukov
5613a38bb1
decouple inner-graph and parser state
2020-01-21 17:36:22 +03:00
Tobias Koppers
4f1107bcc9
the pure annotation only applies to function calls
2020-01-15 22:54:42 +01:00
Sergey Melyukov
05abeee20a
pr comments
2019-12-18 16:36:19 +03:00
Sergey Melyukov
9bca2286ed
opt-out inner graph optimization when eval is used
2019-12-16 16:49:01 +03:00
Tobias Koppers
8d46b21fad
add Dependency.getCondition and conditional ModuleGraphConnections
...
getDependencyReference is no longer used to check of connection
2019-10-30 07:48:32 +01:00
evilebottnawi
8198ffb3e6
refactor: code
2019-10-22 00:14:05 +02:00
Tobias Koppers
7733d2b1c1
fix infinite loop on circular inner graph references
2019-10-07 10:52:35 +02:00
Tobias Koppers
f01e7d253b
fix handling of circular references in the inner graph
2019-10-02 07:25:12 +02:00
Tobias Koppers
935830a879
only handle defined variables and imports as pure expressions
2019-09-08 22:29:51 +02:00
Tobias Koppers
786c655751
avoid adding dependencies in pre walk, branch might be skipped
2019-09-08 15:21:00 +02:00
Tobias Koppers
ec518945f1
fix edge case in scope analysis
...
fix double declaration problem in variable declarations
remove TrackingSet
rename StackedSetMap to StackedMap and remove add method
add more scope analysis test
2019-09-05 13:34:16 +02:00
Tobias Koppers
41a6f2af1a
fix PureExpressionDependency bug
2019-09-04 09:57:55 +02:00
Tobias Koppers
2e37731988
add analysis for top level symbols, exports and imports
...
integrates the work of Vincent Chan for GSoC 2018
Co-authored-by: Vincent Chan <cdzos97@gmail.com>
2019-09-03 14:18:40 +02:00