Class: Inch::Language::Nodejs::Evaluation::Role::FunctionParameter::Block

Inherits:
Base show all
Defined in:
lib/inch/language/nodejs/roles/function_parameter.rb

Overview

Role assigned to parameters that are blocks, e.g. &block

See Also:

  • CodeObject::Ruby::MethodParameterObject#block?

Instance Attribute Summary

Attributes inherited from Evaluation::Role

#object

Method Summary

Methods inherited from Base

#object_type

Methods inherited from Evaluation::Role

applicable?, applicable_if, applicable_unless, #initialize, #max_score, #min_score, #object_type, #potential_score, priority, #priority, #score, #suggestion

Constructor Details

This class inherits a constructor from Inch::Evaluation::Role