The constructor of the ConfigTypeGenerator class.
The structure model: the generated code will not actually depend on it.
The config model: the generated code will 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.
Given the current inspected keys, returns the name of parsing functions.
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 name of the associated struct.
Adds a new struct to the current stack.
The function that generates the code and assigns it to the code field.
Given a primitive value, returns its associated C printf formatter (such as %d or %s).
The primitive value to analyze.
The associated C printf formatter.
Given a primitive value, returns its C type.
The primitive value to analyze.
The associated C type.
Given the config model generates the code that allocates the data config.
The config model or one of its nested property values.
The name of the current key.
Given a primitive value generates the code about it.
The primitive value.
The name of the current key.
Given a primitive array value generates the code about it.
The primitive array value.
The name of the current key.
Prints the given string to the current cursor, formatting it.
The string to print.
Generated using TypeDoc
The ConfigTypeGenerator class, extending the ConfigGenerator class and generating the code that defines the config structure's struct.