lib/mutest/expression/parser.rb
def try_parse(input)
        expressions = expressions(input)
        case expressions.length
        when 0 # rubocop:disable Lint/EmptyWhen
        when 1
          Util.one(expressions)
        else
          raise AmbiguousExpressionError, "Ambiguous expression: #{input.inspect}"
        end
      end
# Try to parse input into expression
#
# @param [String] input
#
# @return [Expression]
#   if expression is valid
#
# @return [nil]
#   otherwise
Try to parse input into expression
Try to parse input into expression
def try_parse(input)
        expressions = expressions(input)
        case expressions.length
        when 0 
        when 1
          Util.one(expressions)
        else
          raise AmbiguousExpressionError, "Ambiguous expression: #{input.inspect}"
        end
      end
def try_parse ( input ) expressions = expressions ( input ) case expressions . length when 0 when 1 Util . one ( expressions ) else raise AmbiguousExpressionError , "Ambiguous expression: #{input.inspect}" end end
Try to parse input into expression
Try to parse input into expression
# rubocop:disable Lint/EmptyWhen
if expression is valid
if expression is valid
Expression
None
nil
input
None