Class: Script::Tree::Funcall
- Inherits:
-
Object
- Object
- Script::Tree::Funcall
- 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
-
#__perform_sass_fn ⇒ Object
Function perform.
- #perform_sass_fn(function, args, splat, environment) ⇒ Object
Instance Method Details
#__perform_sass_fn ⇒ Object
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 |