You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: class_methods.rb
    path of file: ./repos/solargraph/lib/solargraph/parser/rubyvm
    
    the code of the file until where you have to start completion: require 'solargraph/parser/rubyvm/node_processors'
require 'solargraph/parser/rubyvm/node_wrapper'

module Solargraph
  module Parser
    module Rubyvm
      module ClassMethod
    
        def string_ranges node
          return [] unless is_ast_node?(node)
          result = []
          if node.type == :STR
            result.push Range.from_node(node)
          elsif node.type == :DSTR
            here = Range.from_node(node)
            there = Range.from_node(node.children[1])
            result.push Range.new(here.start, there&.start || here.ending)
          end