PrimitiveFunctionBackedNode
A node backed by a primitive function: the node can be wrapped into a call to that function, so any .extend registered for the function name is applied to the node's rendering.
For example, a Heading is backed by .heading, so wrapping .extend {heading} affects both .heading {...} calls and Markdown # syntax. See stdlib's Primitives module for more primitive functions.
The wrapping is performed by com.quarkdown.core.ast.iterator.AstRewriter during the com.quarkdown.core.pipeline.stages.TreeRewriteStage, and only happens when the backing function has actually been extended.
See also
Inheritors
Properties
The name of the function that backs this node, from a loaded library.
Whether the synthesized backing call should be treated as a block call. Defaults to true; inline primitive nodes should override to false so the inline output mapper is used during expansion.
Functions
Retrieves the stored media associated with this node, if any.
Materializes this node's properties into the arguments of the backing function call. Argument names must match the parameter names of the function identified by backingFunctionName.
Returns a copy of this node with its children replaced by newChildren.