Sha256: 6f41387b84ad6241e4b8393d17df41249580e41ff659c229c220de3b143807a5
Contents?: true
Size: 416 Bytes
Versions: 11
Compression:
Stored size: 416 Bytes
Contents
module Roodi module Core class IteratorVisitor def initialize(payload) @payload = payload end def visit(visited) visited.accept(@payload) visitable_nodes = visited.is_language_node? ? visited.sexp_body : visited visitable_nodes.each do |child| if child.class == VisitableSexp then child.accept(self) end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems