I'm not seeing how we could simplify this method further. 

The extra bit of complexity when determining EOL comments is that `=begin`/`=end` document comments *can't* be placed at the end of a line, even if they appeared between the start and the end of the expression that unparser is a generating a single line for (which is the test case [here](https://github.com/misfo/unparser/blob/c8687def11bef394fe6a9c17f4870805e00d7ccc/spec/unit/unparser_spec.rb#L1253)). So we have to `shift` those comments back onto the `@comments` array to be output the next time we have a fresh line to put them on