Langium - v4.0.0
    Preparing search index...

    Function toString

    • Converts instances of GeneratorNode into a string, defaults to String String(...) for any other input.

      Parameters

      • input: unknown
      • 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 string

      the plain string represented by the given input.