class SyntaxTree::Index::FileComments
lazily parse comments out of the source code.
When you’re using the instruction sequence backend, this class is used to
def comments
def comments @comments ||= Parser.new(source.source).tap(&:parse).comments end
def initialize(source)
def initialize(source) @source = source end