lib/mutest/env/bootstrap.rb
def expression(scope)
        name = scope_name(scope) or return

        unless name.instance_of?(String)
          semantics_warning(
            CLASS_NAME_TYPE_MISMATCH_FORMAT,
            name:        name,
            scope_class: scope.class,
            scope:       scope
          )
          return
        end

        config.expression_parser.try_parse(name)
      end
# Try to turn scope into expression
#
# @param [Class, Module] scope
#
# @return [Expression]
#   if scope can be represented in an expression
#
# @return [nil]
#   otherwise
Try to turn scope into expression
Try to turn scope into expression
def expression(scope)
        name = scope_name(scope) or return
        unless name.instance_of?(String)
          semantics_warning(
            CLASS_NAME_TYPE_MISMATCH_FORMAT,
            name:        name,
            scope_class: scope.class,
            scope:       scope
          )
          return
        end
        config.expression_parser.try_parse(name)
      end
def expression ( scope ) name = scope_name ( scope ) or return unless name . instance_of? ( String ) semantics_warning ( CLASS_NAME_TYPE_MISMATCH_FORMAT , name : name , scope_class : scope . class , scope : scope ) return end config . expression_parser . try_parse ( name ) end
Try to turn scope into expression
Try to turn scope into expression
if scope can be represented in an expression
if scope can be represented in an expression
Expression
None
nil
scope
None