class RuboCop::AST::NodePattern::Builder
def emit_subsequence(node_list)
def emit_subsequence(node_list) return node_list.first if node_list.size == 1 # Don't put a single child in a subsequence emit_list(:subsequence, nil, node_list, nil) end
def emit_subsequence(node_list) return node_list.first if node_list.size == 1 # Don't put a single child in a subsequence emit_list(:subsequence, nil, node_list, nil) end