Self explanatory really, but this involves documenting each class in the ast, its motivation, implementation details and so on.