global
def match_map
-
(Hash)
- a map for {node => matched?}, depth-first
def match_map @match_map ||= ast .each_node .to_h { |node| [node, matched?(node)] } end
(Hash)
- a map for {node => matched?}, depth-first
def match_map @match_map ||= ast .each_node .to_h { |node| [node, matched?(node)] } end