Sha256: d1592ba7b158a46ca00ac3bb6a20c0d824d6ff978fae5cf009370559b6a7a376

Contents?: true

Size: 725 Bytes

Versions: 42

Compression:

Stored size: 725 Bytes

Contents

module Sass
  module Tree
    # A dynamic node representing a function definition.
    #
    # @see Sass::Tree
    class FunctionNode < Node
      # The name of the function.
      # @return [String]
      attr_reader :name

      # The arguments to the function. Each element is a tuple
      # containing the variable for argument and the parse tree for
      # the default value of the argument
      #
      # @return [Array<Script::Node>]
      attr_reader :args

      # @param name [String] The function name
      # @param args [Array<(Script::Node, Script::Node)>] The arguments for the function.
      def initialize(name, args)
        @name = name
        @args = args
        super()
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 3 rubygems

Version Path
haml_ejs-0.0.1 vendor/sass/lib/sass/tree/function_node.rb
haml-3.1.3 vendor/sass/lib/sass/tree/function_node.rb
sass-3.1.6 lib/sass/tree/function_node.rb
haml-3.2.0.alpha.8 vendor/sass/lib/sass/tree/function_node.rb
sass-3.1.3 lib/sass/tree/function_node.rb
sass-3.2.0.alpha.9 lib/sass/tree/function_node.rb
sass-3.2.0.alpha.8 lib/sass/tree/function_node.rb
haml-3.2.0.alpha.5 vendor/sass/lib/sass/tree/function_node.rb
haml-3.2.0.alpha.4 vendor/sass/lib/sass/tree/function_node.rb
haml-3.1.2 vendor/sass/lib/sass/tree/function_node.rb
sass-3.1.2 lib/sass/tree/function_node.rb
sass-3.2.0.alpha.7 lib/sass/tree/function_node.rb
sass-3.2.0.alpha.6 lib/sass/tree/function_node.rb
haml-3.2.0.alpha.3 vendor/sass/lib/sass/tree/function_node.rb
sass-3.2.0.alpha.4 lib/sass/tree/function_node.rb
sass-3.2.0.alpha.3 lib/sass/tree/function_node.rb
sass-3.1.1 lib/sass/tree/function_node.rb
haml-3.2.0.alpha.2 vendor/sass/lib/sass/tree/function_node.rb
haml-3.1.1 vendor/sass/lib/sass/tree/function_node.rb
sass-3.1.0 lib/sass/tree/function_node.rb