Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::LocalVariableMapper::UnshadowedNodeVisitor

Inherits:
Object
  • Object
show all
Defined in:
lib/rucoa/handlers/text_document_document_highlight_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(node:, &block) ⇒ UnshadowedNodeVisitor

Returns a new instance of UnshadowedNodeVisitor.



477
478
479
480
481
482
483
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 477

def initialize(
  node:,
  &block
)
  @block = block
  @node = node
end