lib/mutest/expression/methods.rb
# Length of match with other expression
#
# @param [Expression] expression
#
# @return [Integer]
Length of match with other expression
Length of match with other expression
def match_length(expression)
        if expression.syntax.start_with?(syntax)
          syntax.length
        else
          0
        end
      end
def match_length ( expression ) if expression . syntax . start_with? ( syntax ) syntax . length else 0 end end
Length of match with other expression
Length of match with other expression
None
Integer
expression
None