Sha256: 9fbf72375c5383ed00812f05ab0d360c52fc5a1c422ade43869357acf99b2717
Contents?: true
Size: 362 Bytes
Versions: 4
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true module Phlex::Compiler::Visitors class View < Base include StableScope visit_method def visit_def(node) visitor = ViewMethod.new(@compiler) visitor.visit_all(node.child_nodes) if visitor.optimized_something? @compiler.redefine( format(node), line: node.location.start_line ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems