Union type defining the arguments required to create a new CodeBlock instance. Can be either a string-based code block or a function-based code block.
The code to write as a string
Optional
A list of references that are present in the code
A function that writes the code using the provided writer
Union type defining the arguments required to create a new CodeBlock instance. Can be either a string-based code block or a function-based code block.