Proper support for the XPath "following" axis.
Renamed `node` to `ast_node`.

This should make it a bit easier to understand what kind of data the variable is
holding.