Class: Unparser::Preprocessor::CollapseStrChildren
- Inherits:
-
Unparser::Preprocessor
- Object
- Unparser::Preprocessor
- Unparser::Preprocessor::CollapseStrChildren
- Defined in:
- lib/unparser/preprocessor.rb
Overview
Preprocessor for dynamic string regexp and xtr nodes. Collapses adjacent string segments into one.
Constant Summary
Constants inherited from Unparser::Preprocessor
Instance Method Summary collapse
-
#result ⇒ Parser::AST::Node
private
Return preprocessor result.
Methods inherited from Unparser::Preprocessor
Methods included from NodeHelpers
Instance Method Details
#result ⇒ Parser::AST::Node
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return preprocessor result
119 120 121 |
# File 'lib/unparser/preprocessor.rb', line 119 def result node.updated(nil, collapsed_children) end |