Document AST consumer class.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>