Package-level declarations
Types
When a library function parameter is annotated with @Injected
, its value is not supplied by a function call but rather automatically injected by com.quarkdown.core.function.call.binding.InjectedArgumentsBinder.
When invoking a function via KFunctionAdapter, Value arguments are automatically unwrapped to their raw value, unless this annotation is present on the Value subclass.
When a library function is annotated with this annotation, it can only be called if the document adopts none of the given document types. This is the opposite of OnlyForDocumentType.
When a library function is annotated with this annotation, it can only be called if the document adopts one of the given document types.
Functions
Converts an NotForDocumentType annotation to a DocumentTypeFunctionCallValidator
Converts an OnlyForDocumentType annotation to a DocumentTypeFunctionCallValidator