Sha256: a593baeec27ab163d71369956e4f202fc28b8d5617eca6874d101cf88447860a
Contents?: true
Size: 400 Bytes
Versions: 34
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true module DeepCover module Node::Mixin module IsStatement def self.included(base) base.has_child_handler('is_%{name}_statement') end def is_statement parent.is_child_statement(self) end # Default child rewriting rule def is_child_statement(child, name = nil) :if_incompatible end end end end
Version data entries
34 entries across 34 versions & 2 rubygems