FunctionCallNodeExpander
class FunctionCallNodeExpander(context: MutableContext, errorHandler: PipelineErrorHandler, outputMapperFactory: OutputValueVisitorFactory<Node> = NodeOutputValueVisitorFactory(context))
Given a FunctionCallNode from the AST, this expander resolves its referenced function, executes it and maps its result to a visible output in the final document.
Parameters
context
root context to dequeue to-be-expanded function calls from
errorHandler
strategy to handle errors that may occur during the execution of a function call
outputMapperFactory
producer of an AST output Node from the function call output
Constructors
Link copied to clipboard
constructor(context: MutableContext, errorHandler: PipelineErrorHandler, outputMapperFactory: OutputValueVisitorFactory<Node> = NodeOutputValueVisitorFactory(context))