Sha256: cf047caa5bdc5ae01120f15442afa374b5ee1acc7aeb382a7257f70498668685
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
module YARD::MRuby::Handlers::C::Source # Keeps track of function bodies for symbol lookup during MRuby method declarations class SymbolHandler < Base MATCH = / mrb_value\s*(\w+)\s*\(\s*mrb_state\s*\*\s*\w+,\s*mrb_value\s*\w+\s*\) /mx handles MATCH statement_class ToplevelStatement process do symbols[statement.source[MATCH, 1]] = statement end end end
Version data entries
3 entries across 3 versions & 1 rubygems