Implement the parser callback interface.