module SheepAst::LetOperateNode

Let include module

Public Instance Methods

operate_node(pair, datastore, ast_name, operation, **options) click to toggle source
# File lib/sheep_ast/action/let_operate_node.rb, line 33
def operate_node(pair, datastore, ast_name, operation, **options)
  ldebug? and ldebug "Node operation #{operation.inspect} to #{ast_name}"
  if @analyzer_core.nil?
    application_error 'analyzer_core must be set'
  end
  @analyzer_core.move_node(ast_name, operation)

  return T.unsafe(self).ret(**options)
end