Sha256: d1882f2fb8e066ce0567d4c71107d5a56d8e8c1ffec1b12e428041b82fd94feb
Contents?: true
Size: 829 Bytes
Versions: 3
Compression:
Stored size: 829 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 # Returns sub nodes that are not tree children. def subnodes Array(args) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sass-3.1.5 | lib/sass/tree/function_node.rb |
sass-3.1.4 | lib/sass/tree/function_node.rb |
sass-3.2.0.alpha.11 | lib/sass/tree/function_node.rb |