module SimpleCov::StaticCoverageExtractor::ConditionFolding
def unwrap_parentheses(node)
def unwrap_parentheses(node) # @type var current: untyped current = node while current.is_a?(::Prism::ParenthesesNode) body = current.body break unless body.is_a?(::Prism::StatementsNode) && body.body.size == 1 current = body.body.first end current end