Add doc comments to Parser#parse