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
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.4 lib/yard/handlers/c/symbol_handler.rb
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.3 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.2 lib/yard/handlers/c/symbol_handler.rb
candlepin-api-0.4.0 bundle/ruby/gems/yard-0.8.7/lib/yard/handlers/c/symbol_handler.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/yard-0.8.7/lib/yard/handlers/c/symbol_handler.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/yard-0.8.7/lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.1 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7 lib/yard/handlers/c/symbol_handler.rb
challah-1.0.0 vendor/bundle/gems/yard-0.8.6.1/lib/yard/handlers/c/symbol_handler.rb