Method: YARD::Handlers::C::InitHandler#process

Defined in:
lib/yard/handlers/c/init_handler.rb

#processvoid

This method returns an undefined value.

Main processing callback


7
8
9
10
11
12
13
14
15
# File 'lib/yard/handlers/c/init_handler.rb', line 7

process do
  parse_block
  ns = namespace_for_variable(statement.declaration[MATCH, 1])
  if ns.is_a?(YARD::CodeObjects::NamespaceObject) && ns.docstring.blank?
    if statement.comments
      register_docstring(ns, statement.comments.source, statement)
    end
  end
end