Writes the type declaration to the writer.
The writer to write to
Static
stringStatic
booleanStatic
integerStatic
longStatic
doubleStatic
dateStatic
dateStatic
uuidStatic
objectStatic
listStatic
setStatic
mapStatic
optionalStatic
referenceCreates a reference to a custom C# class type.
The class reference
A new class reference type
Static
genericCreates a reference to a generic C# class type.
The generic class reference
A new generic class reference type
Static
coreCreates a reference to a core C# class type.
The core class reference
A new core class reference type
Static
oneStatic
stringCreates a C# string enum type.
The class reference for the string enum
A new string enum type
Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.
The string representation of the AST node
Represents a C# type in the AST. This class handles the generation of C# type declarations, including primitive types, collection types, nullable types, and custom class references.