Options
All
  • Public
  • Public/Protected
  • All
Menu

A node that generates code.

Hierarchy

  • Node

Implemented by

Index

Properties

Methods

Properties

newLines

newLines: number

The number of extra new lines added after the node has generated code.

Methods

generateCode

  • generateCode(out: (code: string) => void): void
  • Generate the code.

    Parameters

    • out: (code: string) => void

      A function used to output the code followed by a newline.

        • (code: string): void
        • Parameters

          • code: string

          Returns void

    Returns void

Generated using TypeDoc