The constructor of the ConfigParserGenerator 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 function that is being currently generated.
The array of generated functions.
The current indentation as number of tabs.
If the current function to generate is the root one.
A stack of inspected keys.
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.
The function parameters, depending on the isRoot field.
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 function 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 a config model, prints the function that handles it.
The config model or one of its nested objects.
The current key.
Prints the given string to the current cursor, formatting it.
The string to print.
Prints a general conditional block.
The type of the block (if; else if; else).
The condition to print if the block is not an else.
The content of the conditional block.
Given an object value, prints the switch-code that handles it to the current function.
The object value to handle.
Given a primitive array value, adds the switch-code that will handle it to the given ifContent strings array parameter.
The primitive array value.
The ifContent that will be modified adding a new element to it.
Given a primitive value, adds the switch-code that will handle it to the given ifContent strings array parameter.
The primitive value.
The ifContent that will be modified adding a new element to it.
Prints the current function's first lines.
Generated using TypeDoc
The ConfigParserGenerator class, extending the ConfigGenerator class and generating the code that parses a config structure.