Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace printer

Index

Interfaces

Functions

Functions

printDocToString

  • printDocToString(doc: Doc, options: Options): { cursorNodeStart?: undefined | number; cursorNodeText?: undefined | string; formatted: string }
  • Parameters

    Returns { cursorNodeStart?: undefined | number; cursorNodeText?: undefined | string; formatted: string }

    • Optional cursorNodeStart?: undefined | number
    • Optional cursorNodeText?: undefined | string
    • formatted: string