Modified the way the base NodeVisitor's _get_line() works to take line numbers as well as Node objects.