Skip to content
instance method

Prism::BasicVisitor#visit

visit(node)

Calls accept on the given node if it is not nil, which in turn should call back into this visitor by calling the appropriate visit_* method.

See also #visit_all #visit_child_nodes also in 3.4 · 3.3