functionCallArguments
fun functionCallArguments(block: FunctionCallArgumentsBuilder.() -> Unit): List<FunctionCallArgument>
Builds a list of FunctionCallArguments via the FunctionCallArgumentsBuilder DSL. Preferred over listing arguments by hand in PrimitiveFunctionBackedNode.toFunctionCallArguments.
override fun toFunctionCallArguments() =
functionCallArguments {
arg("content", inline(label))
arg("url", string(url))
arg("title", inline(title))
}Content copied to clipboard