Class GatedTypeMapping
java.lang.Object
org.ek9lang.compiler.phase5.GatedTypeMapping
Static mapping of gated system types to their required capability declaration.
Primary types map to themselves; associated types map to their primary type.
For example, TCPConnection maps to TCP because you cannot obtain a TCPConnection
without going through TCP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRequiredCapability(String typeFqn) (package private) booleanisCoveredByCapabilities(String typeFqn, Set<String> declaredCapabilities)
-
Constructor Details
-
GatedTypeMapping
GatedTypeMapping()
-
-
Method Details
-
getRequiredCapability
-
isCoveredByCapabilities
-