Package org.pkl.core
Class Analyzer
java.lang.Object
org.pkl.core.Analyzer
Utility library for static analysis of Pkl programs.
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyzer(StackFrameTransformer transformer, boolean color, SecurityManager securityManager, Collection<ModuleKeyFactory> moduleKeyFactories, @Nullable Path moduleCacheDir, @Nullable DeclaredDependencies projectDependencies, HttpClient httpClient, TraceMode traceMode) -
Method Summary
Modifier and TypeMethodDescriptionimportGraph(URI... sources) Builds a graph of imports from the provided source modules.
-
Constructor Details
-
Analyzer
public Analyzer(StackFrameTransformer transformer, boolean color, SecurityManager securityManager, Collection<ModuleKeyFactory> moduleKeyFactories, @Nullable @Nullable Path moduleCacheDir, @Nullable @Nullable DeclaredDependencies projectDependencies, HttpClient httpClient, TraceMode traceMode)
-
-
Method Details
-
importGraph
Builds a graph of imports from the provided source modules.For details, see
ImportGraph.
-