module Unparser::Emitter::LocalVariableRoot

Public Class Methods

included(descendant) click to toggle source
# File lib/unparser/emitter.rb, line 31
def self.included(descendant)
  descendant.class_eval do
    memoize :local_variable_scope
  end
end

Public Instance Methods

local_variable_scope() click to toggle source

Return local variable root

@return [Parser::AST::Node]

@api private

# File lib/unparser/emitter.rb, line 27
def local_variable_scope
  AST::LocalVariableScope.new(node)
end