cleanup(parser): add type annotations to all AST classes