Sha256: 9a51578c400b600cc566e8a6649670905e98c211ccdef2150d0a439631a958b9
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 Bytes
Contents
module Unparser module NodeHelpers # Helper for building nodes # # @param [Symbol] # # @return [Parser::AST::Node] # # @api private # def s(type, *children) Parser::AST::Node.new(type, children) end # Helper for building nodes # # @param [Symbol] # # @return [Parser::AST::Node] # # @api private # def n(type, children = []) Parser::AST::Node.new(type, children) end end # NodeHelpers end # Unparser
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
unparser-0.2.8 | lib/unparser/node_helpers.rb |
unparser-0.2.7 | lib/unparser/node_helpers.rb |
unparser-0.2.6 | lib/unparser/node_helpers.rb |
unparser-0.2.5 | lib/unparser/node_helpers.rb |