Sha256: f117f0a33c6472a2f70068349889fcd9e253fa5c725e7c70fae41cd033262a69
Contents?: true
Size: 1.1 KB
Versions: 34
Compression:
Stored size: 1.1 KB
Contents
# frozen_string_literal: true require_relative 'arguments' module DeepCover class Node::Def < Node check_completion has_tracker :method_call has_child method_name: Symbol has_child signature: Args has_child body: Node, rewrite: '%{method_call_tracker};%{local}=nil;%{node}', can_be_empty: -> { base_node.loc.end.begin }, is_statement: true, flow_entry_count: :method_call_tracker_hits executed_loc_keys :keyword, :name def children_nodes_in_flow_order [] end end class Node::Defs < Node check_completion has_tracker :method_call has_child singleton: Node, rewrite: '(%{node})' has_child method_name: Symbol has_child signature: Args has_child body: Node, rewrite: '%{method_call_tracker};%{local}=nil;%{node}', can_be_empty: -> { base_node.loc.end.begin }, is_statement: true, flow_entry_count: :method_call_tracker_hits executed_loc_keys :keyword, :name, :operator def children_nodes_in_flow_order [singleton] end end end
Version data entries
34 entries across 34 versions & 2 rubygems