Abstract
Abstract
writeWrites the AST node to the given writer. This method must be implemented by all concrete AST node classes. It defines how the node should be written to the output.
The writer instance to write the node's content
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
Base class for all AST nodes in the Python AST library. This abstract class provides the foundation for all Python code generation nodes. Each specific node type must extend this class and implement the write method.
Implements