Package com.google.javascript.jscomp
Class ControlFlowAnalysis.Builder
java.lang.Object
com.google.javascript.jscomp.ControlFlowAnalysis.Builder
- Enclosing class:
ControlFlowAnalysis
Configures a
ControlFlowAnalysis instance then computes the ControlFlowGraph-
Method Summary
Modifier and TypeMethodDescriptionsetCfgRoot(Node cfgRoot) setCompiler(AbstractCompiler compiler) setIncludeEdgeAnnotations(boolean includeEdgeAnnotations) setTraverseFunctions(boolean shouldTraverseFunctions)
-
Method Details
-
setCompiler
-
setCfgRoot
-
setTraverseFunctions
@CanIgnoreReturnValue public ControlFlowAnalysis.Builder setTraverseFunctions(boolean shouldTraverseFunctions) -
setIncludeEdgeAnnotations
@CanIgnoreReturnValue public ControlFlowAnalysis.Builder setIncludeEdgeAnnotations(boolean includeEdgeAnnotations) -
computeCfg
-