class RuboCop::AST::NodePattern::Parser::WithMeta

Overrides Parser to use ‘WithMeta` variants and provide additional methods

def do_parse

def do_parse
  r = super
  @comments = @lexer.comments
  @tokens = @lexer.tokens
  r
end