Sha256: 37fccef3006d8d005c3465b32b3f2e406bfd17dcc166893df2c2f23f925d6e2d
Contents?: true
Size: 442 Bytes
Versions: 24
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true module Unparser class Emitter # Emitter for const pattern node class ConstPattern < self handle :const_pattern children :const, :pattern private def dispatch visit(const) if n_hash_pattern?(pattern) emitter(pattern).emit_const_pattern else visit(pattern) end end end # ConstPattern end # Emitter end # Unparser
Version data entries
24 entries across 24 versions & 2 rubygems