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 a library function parameter is annotated with @LikelyBody
, it is marked as a body parameter that usually expects a body argument (wiki). This does not have any runtime effect, but is rather used for documentation purposes (see Quarkdoc).
When a library function is annotated with @LikelyChained
, it is marked as a parameter that usually expects to be chained (wiki). This does not have any runtime effect, but is rather used for documentation purposes (see Quarkdoc).
When a library function parameter is annotated with @LikelyNamed
, it is marked as a parameter that usually expects a named argument (wiki). This does not have any runtime effect, but is rather used for documentation purposes (see Quarkdoc).
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