Options
All
  • Public
  • Public/Protected
  • All
Menu

The class that all generators extends.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected code

code: string = ""

The generated code.

Protected comment

comment: string

The template comment that this generator handles.

Protected config

config: ConfigModel

The config model: the generated code could depend on it.

Protected structure

structure: StructureModel

The structure model: the generated code could depend on it.

Accessors

generated

  • get generated(): Code

Methods

Protected generate

  • generate(): void

Protected print

  • print(str: string): void
  • Prints a line of generated code, fomatting it and adding it to the code field.

    Parameters

    • str: string

      The line to print.

    Returns void

Generated using TypeDoc