lib/solargraph/parser/parser_gem/node_processors/sym_node.rb



# frozen_string_literal: true


module Solargraph
  module Parser
    module ParserGem
      module NodeProcessors
        class SymNode < Parser::NodeProcessor::Base
          def process
            pins.push Solargraph::Pin::Symbol.new(
              get_node_location(node),
              ":#{node.children[0]}"
            )
          end
        end
      end
    end
  end
end