Class DeclaredDependencies
java.lang.Object
org.ek9lang.compiler.support.DeclaredDependencies
- All Implemented Interfaces:
Function<EK9Parser.PackageBlockContext, List<DeclaredDependencies.Dependency>>
public final class DeclaredDependencies
extends Object
implements Function<EK9Parser.PackageBlockContext, List<DeclaredDependencies.Dependency>>
THE direct dependencies a
defines package block declares, in the order written: every entry of its
deps and devDeps Dicts whose key and version are both String literals (a malformed Dict is
PackageProperties' E06260, not this class's business). excludeDeps are not dependencies and are
never read here. Each is given with the token of its own entry, so a problem is reported on its own line.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne declared dependency: the Dict it is in, its module name, its version and the token of its entry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
DeclaredDependencies
public DeclaredDependencies()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<EK9Parser.PackageBlockContext, List<DeclaredDependencies.Dependency>>
-