Package-level declarations

Functions

Link copied to clipboard

Returns the parsed value of a choice argument.

Adds a string "choice" argument to this command.

Link copied to clipboard
inline fun <E : Enum<E>> VelocityContext.enum(name: String): E

Returns the parsed enum value of an enum argument.

inline fun <E : Enum<E>> VelocityLiteralNode.enum(name: String, values: Iterable<E> = enumValues<E>().asList(), noinline block: VelocityArgumentNode<String>.() -> Unit)

Adds an enum-backed "choice" argument to this command.