Move line numbers to the AST node itself.

This allows us to use strict comparisons on the node type.
Strict compare all the things!
We can just compare for strings here.