Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextStreamWriter

Hierarchy

Index

Properties

Column

Column: number

The column number of the current character position in an input stream.

Line

Line: number

The current line number in an input stream.

Methods

Close

  • Close(): void
  • Closes a text stream. It is not necessary to close standard streams; they close automatically when the process ends. If you close a standard stream, be aware that any other pointers to that standard stream become invalid.

    Returns void

Write

  • Write(s: string): void
  • Sends a string to an output stream.

    Parameters

    • s: string

    Returns void

WriteBlankLines

  • WriteBlankLines(intLines: number): void
  • Sends a specified number of blank lines (newline characters) to an output stream.

    Parameters

    • intLines: number

    Returns void

WriteLine

  • WriteLine(s: string): void
  • Sends a string followed by a newline character to an output stream.

    Parameters

    • s: string

    Returns void

Generated using TypeDoc