• Converts instances of GeneratorNode into text accompanied by a corresponding trace.

    Parameters

    • input: GeneratorNode
    • OptionaldefaultIndentation: string | number

      the indentation to be applied if no explicit indentation is configured for particular IndentNodes, either a string or a number of repeated single spaces, defaults to 4 single spaces, see processGeneratorNode -> Context.

    Returns {
        text: string;
        trace: TraceRegion;
    }

    an object of type { text: string, trace: TraceRegion } containing the desired text and trace data