• Renders the AST to a string without any pretty printing.

    Parameters

    • node: Printable | Printable[]
    • Optional options: {
          asArray: false;
      }

      Setting asArray to true will return an array of strings and the symbol linebreak, so that printing can be customized.

      • asArray: false

    Returns string

  • Parameters

    • node: Printable | Printable[]
    • options: {
          asArray: true;
      }
      • asArray: true

    Returns PrintToken[]

Generated using TypeDoc