class Unparser::Emitter::Range
Range emitters
def dispatch
def dispatch visit_begin_node(begin_node) write(TOKENS.fetch(node.type)) visit_end_node(end_node) end
def symbol_name
def symbol_name true end
def visit_begin_node(node)
def visit_begin_node(node) return unless node if n_array?(begin_node) writer_with(Writer::Array, node: begin_node).emit_compact else visit(begin_node) end end
def visit_end_node(node)
def visit_end_node(node) return unless node write(' ') if n_range?(node) if n_array?(node) writer_with(Writer::Array, node: node).emit_compact else visit(node) end end