Sha256: 40b732fda4d2cfc930254adb686ba0ca91993d24009baf449a8849c769af6853

Contents?: true

Size: 333 Bytes

Versions: 10

Compression:

Stored size: 333 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*(?:(?:\w+)\s+)?(?:intern\s+)?VALUE\s+(\w+)\s*\(}
  handles MATCH
  statement_class ToplevelStatement
  process { symbols[statement.source[MATCH, 1]] = statement }
end

Version data entries

10 entries across 9 versions & 2 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/symbol_handler.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/symbol_handler.rb
yard-0.9.5 lib/yard/handlers/c/symbol_handler.rb
yard-0.9.4 lib/yard/handlers/c/symbol_handler.rb
yard-0.9.3 lib/yard/handlers/c/symbol_handler.rb
yard-0.9.2 lib/yard/handlers/c/symbol_handler.rb
yard-0.9.1 lib/yard/handlers/c/symbol_handler.rb
yard-0.9.0 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.6 lib/yard/handlers/c/symbol_handler.rb
yard-0.8.7.5 lib/yard/handlers/c/symbol_handler.rb