FunctionCallNode

constructor(context: Context, name: String, arguments: List<FunctionCallArgument>, isBlock: Boolean, delegator: Node? = null, sourceText: CharSequence? = null, sourceRange: IntRange? = null)

Parameters

context

context this node lies in, which is where symbols will be loaded from upon execution

name

name of the function to call

arguments

arguments to call the function with

isBlock

whether this function call is an isolated block (opposite: inline)

delegator

if this call was synthesized at parse time from a primitive Markdown node (see com.quarkdown.core.ast.attributes.primitive.PrimitiveFunctionBackedNode), the original node. When set, the expander falls back to rendering this node directly if no .extend has been registered for name, skipping function dispatch overhead

sourceText

if available, the source code of the whole function call

sourceRange

if available, the range of the function call in the source code