parser: add some factorization classes in `parser_nodes`

Signed-off-by: Jean Privat <jean@pryen.org>
parser: document all properties of `parser_nodes`

Signed-off-by: Jean Privat <jean@pryen.org>
src: finish documenting some module

Signed-off-by: Jean Privat <jean@pryen.org>