Package org.ek9lang.cli
Class DependencyNodeFactory
java.lang.Object
org.ek9lang.compiler.common.Reporter
org.ek9lang.cli.DependencyNodeFactory
Just creates DependencyNodes by using a Source Visitor on some EK9 source that has a package
defined in it. Uses a package resolver to get the dependencies and that will unpack zips and
in the future pull them from remote servers can validate the contents.
There's a bit of recursion going on here.
-
Constructor Summary
ConstructorDescriptionDependencyNodeFactory
(CommandLineDetails commandLine, boolean muteReportedErrors) Make a new Dependency Node Factory. -
Method Summary
Modifier and TypeMethodDescription(package private) Optional
<DependencyNode> createFrom
(Ek9SourceVisitor visitor) protected String
Provide the report/log message prefix.Methods inherited from class org.ek9lang.compiler.common.Reporter
isMuteReportedErrors, isVerbose, log, report, setMuteReportedErrors
-
Constructor Details
-
DependencyNodeFactory
DependencyNodeFactory(CommandLineDetails commandLine, boolean muteReportedErrors) Make a new Dependency Node Factory.
-
-
Method Details
-
messagePrefix
Description copied from class:Reporter
Provide the report/log message prefix.- Specified by:
messagePrefix
in classReporter
-
createFrom
-