Sha256: d69d021209af681a8d37d38e2aa68e39c741e648e18c451fa237a5e5a269e1ff
Contents?: true
Size: 412 Bytes
Versions: 76
Compression:
Stored size: 412 Bytes
Contents
class YARD::Handlers::C::ConstantHandler < YARD::Handlers::C::Base MATCH = %r{\brb_define_((?:readonly_)?variable|(?:global_)?const) \s*\((?:\s*(\w+),)?\s*"(\w+)",\s*(.*?)\s*\)\s*;}xm handles MATCH statement_class BodyStatement process do statement.source.scan(MATCH) do |type, var_name, const_name, value| handle_constants(type, var_name, const_name, value) end end end
Version data entries
76 entries across 59 versions & 8 rubygems