The constructor of the StructureTypeGenerator class.
The structure model: the generated code will depend on it.
The config model: the generated code will not actually depend on it.
The generated code.
The template comment that this generator handles.
The config model: the generated code could depend on it.
The index of the struct that is being currently generated.
The current indentation as number of tabs.
A stack of inspected keys.
The array of generated structs.
The structure model: the generated code could depend on it.
Given the current inspected keys, returns the string that in c access that property, adding _count at the end and keeping only the last key.
Returns the generated Code object.
The strings of indentation tabs, dependent by the indentation field.
Given the current inspected keys, returns the string that in c access that property, adding _count at the end.
Given the current inspected keys, returns the string that in c access that property.
Given the current inspected keys, returns the string that in c access that property, adding _size at the end.
The current struct name, dependent by the current keys stack.
Adds a new struct to the current stack.
The function that generates the code and assigns it to the code field.
Given the structure model generates the code that generates the data structure's struct.
The structure model or one of its nested property values.
The name of the current key.
Prints the given string to the current cursor, formatting it.
The string to print.
Generated using TypeDoc
The StructureTypeGenerator class, extending the StructureGenerator class and generating the code that defines the data structure's struct.