Tobias Koppers
b38330754f
add hooks for walking parts of classes
...
import handling of classes and expressions
2020-04-09 15:53:59 +02:00
Ivan Kopeykin
411728b146
remove unnecessary condition
2020-04-09 10:39:00 +03:00
Ivan Kopeykin
de24d3e69d
fix(InnerGraph) for ClassExpression
2020-04-09 10:28:46 +03:00
Ivan Kopeykin
cc99b42293
fix InnerGraph for super expression
2020-04-09 01:33:55 +03:00
Ivan Kopeykin
ccea9ef4ce
fix for #10616
2020-04-09 01:32:34 +03:00
Tobias Koppers
7044757751
cleanup, generalization
2020-04-08 22:15:02 +02:00
Ivan Kopeykin
38304f95cc
increase priority of PureExpressionDependency
2020-04-08 22:13:14 +02:00
Ivan Kopeykin
660c7a4b89
fix(InnerGraph): #10623
2020-04-08 22:13:12 +02:00
Mohsen Azimi
7b07a8db66
Upgrade to Prettier 2
2020-03-28 18:20:24 -04:00
Tobias Koppers
8cbb4ed72c
remove dependencies from inner graph
...
only use TopLevelSymbols in graph
2020-02-05 11:06:27 +01:00
Sergey Melyukov
a9b72d4b40
Merge remote-tracking branch 'upstream/master' into inner-graph-usage-callback
2020-02-04 15:31:06 +03:00
Tobias Koppers
e96695a18a
add more time logging
2020-01-30 16:10:56 +01:00
Sergey Melyukov
907ed08519
usage callbacks on inner graph
2020-01-30 04:34:30 +03:00
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