Change syntax validation processing, part 3

Now that all the necessary information is collected in the tree itself, we can
get rid of the entire cache in SyntaxValidator.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>