Add docstring to LineAnalyser.emit