visitor: Allow PrettyPrinter to take a delegate sink.
semantic: Implement __PRETTY_FUNCTION__.