Options
All
  • Public
  • Public/Protected
  • All
Menu

The StructureDeallocatorGenerator class, extending the StructureGenerator class and generating the code that deallocates a data structure.

Hierarchy

Index

Constructors

constructor

Properties

Protected code

code: string = ""

The generated code.

Protected comment

comment: string = "{{GENERATE_STRUCTURE_DEALLOCATOR}}"

The template comment that this generator handles.

Protected config

config: ConfigModel

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

Protected keys

keys: string[] = []

A stack of inspected keys.

Protected structure

structure: StructureModel

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

Accessors

Protected countName

  • get countName(): string

generated

  • get generated(): Code

Protected propCountName

  • get propCountName(): string

Protected propName

  • get propName(): string

Protected sizeName

  • get sizeName(): string

Protected structName

  • get structName(): string

Methods

Protected generate

  • generate(): void

Private parse

Protected print

  • print(str: string): void

Generated using TypeDoc