Class: Solargraph::Parser::Rubyvm::NodeProcessors::ScopeNode

Inherits:
NodeProcessor::Base show all
Defined in:
lib/solargraph/parser/rubyvm/node_processors/scope_node.rb

Instance Attribute Summary

Attributes inherited from NodeProcessor::Base

#locals, #node, #pins, #region

Instance Method Summary collapse

Methods inherited from NodeProcessor::Base

#initialize

Constructor Details

This class inherits a constructor from Solargraph::Parser::NodeProcessor::Base

Instance Method Details

#processObject



8
9
10
# File 'lib/solargraph/parser/rubyvm/node_processors/scope_node.rb', line 8

def process
  process_children region.update(lvars: node.children[0])
end