<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def emit_node(self, node):
 """Emit a single node."""

        emit = getattr(self, "%s_emit" % node.kind, self.default_emit)
        return emit(node)