Class: Script::Tree::Funcall

Inherits:
Object
  • Object
show all
Defined in:
lib/sass-prof.rb

Overview

class Selector::SimpleSequence

#
# Extend perform
#
alias_method :__do_extend, :do_extend

def do_extend(extends, parent_directives, replace, seen)
  return __do_extend extends, parent_directives, replace,
    seen if ::SassProf::Config.ignore.include? :ext

  prof = ::SassProf::ExtProfiler.new(self, :ext, nil,
    self)
  prof.start

  value = __do_extend extends, parent_directives, replace, seen

  prof.stop

  value
end

end

Instance Method Summary collapse

Instance Method Details

#__perform_sass_fnObject

Function perform



107
# File 'lib/sass-prof.rb', line 107

alias_method :__perform_sass_fn, :perform_sass_fn

#perform_sass_fn(function, args, splat, environment) ⇒ Object



109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/sass-prof.rb', line 109

def perform_sass_fn(function, args, splat, environment)
  return __perform_sass_fn function, args, splat,
    environment if ::SassProf::Config.ignore.include? :fun

  prof = ::SassProf::FunProfiler.new(function.dup, :fun, args.dup,
    environment.dup)
  prof.start

  value = __perform_sass_fn function, args, splat, environment

  prof.stop

  value
end