Sha256: 530bdebc60aa50a838777210a617462f5921eb9f0a26995ca9965487beb51994

Contents?: true

Size: 347 Bytes

Versions: 66

Compression:

Stored size: 347 Bytes

Contents

# Keeps track of function bodies for symbol lookup during Ruby method declarations
class YARD::Handlers::C::SymbolHandler < YARD::Handlers::C::Base
  MATCH = %r{\A\s*(?:(?:static|SWIGINTERN)\s+)?(?:intern\s+)?VALUE\s+(\w+)\s*\(}
  handles MATCH
  statement_class ToplevelStatement
  process { symbols[statement.source[MATCH, 1]] = statement }
end

Version data entries

66 entries across 50 versions & 7 rubygems

Version Path
yard-0.8.6.2 lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6/lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6.1/lib/yard/handlers/c/symbol_handler.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/symbol_handler.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.6.1 lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.5.2/lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.6/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.6 lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.5.2/lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.5.2 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.5.1 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.5 lib/yard/handlers/c/symbol_handler.rb
challah-0.9.1.beta.3 vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.4.1 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.4 lib/yard/handlers/c/symbol_handler.rb
challah-0.9.1.beta vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/symbol_handler.rb
challah-0.9.0 vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/symbol_handler.rb