Class UrlTextKnownAtCompileTimeOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase5.UrlTextKnownAtCompileTimeOrError
- All Implemented Interfaces:
Consumer<EK9Parser.OperationCallContext>
final class UrlTextKnownAtCompileTimeOrError
extends RuleSupport
implements Consumer<EK9Parser.OperationCallContext>
E08275:
Networking().urlOf(text) given text the compiler can know - decision U3 of
docs/architecture/EK9_URL_TYPE_DESIGN.md ยง0. urlOf exists for URLs that arrive at RUN TIME (a webhook a
user registers, a link in another service's response); an endpoint written in the source is configuration
hard-coded, which urlFromEnv exists to prevent. What counts as known is CompileTimeKnownText.-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionUrlTextKnownAtCompileTimeOrError(ParsedModule parsedModule, SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
UrlTextKnownAtCompileTimeOrError
UrlTextKnownAtCompileTimeOrError(ParsedModule parsedModule, SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<EK9Parser.OperationCallContext>
-