class Rails::SourceAnnotationExtractor::ParserExtractor::Parser
def initialize(source, pattern:)
def initialize(source, pattern:) super(source) @pattern = pattern @comments = [] end
def on_comment(value)
def on_comment(value) @comments << Annotation.new(lineno, $1, $2) if value =~ pattern end