Class: Solargraph::Parser::Legacy::NodeProcessors::OrasgnNode
- Inherits:
-
NodeProcessor::Base
- Object
- NodeProcessor::Base
- Solargraph::Parser::Legacy::NodeProcessors::OrasgnNode
- Defined in:
- lib/solargraph/parser/legacy/node_processors/orasgn_node.rb
Instance Attribute Summary
Attributes inherited from NodeProcessor::Base
#locals, #node, #pins, #region
Instance Method Summary collapse
Methods inherited from NodeProcessor::Base
Constructor Details
This class inherits a constructor from Solargraph::Parser::NodeProcessor::Base
Instance Method Details
#process ⇒ Object
8 9 10 11 |
# File 'lib/solargraph/parser/legacy/node_processors/orasgn_node.rb', line 8 def process new_node = node.updated(node.children[0].type, node.children[0].children + [node.children[1]]) NodeProcessor.process(new_node, region, pins, locals) end |