Module: RuboCop::AST::Traversal::CallbackCompiler Private

Included in:
RuboCop::AST::Traversal
Defined in:
lib/rubocop/ast/traversal.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

SEND =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'send(TYPE_TO_METHOD[child.type], child)'
TEMPLATE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  skip: '',
  always: code,
  nil?: "#{code} if child"
}.freeze