Sha256: 2b8e5d0500ece170d2a4c3d1ec7ccfee076a33f86e651a7b654ea84007690a60
Contents?: true
Size: 846 Bytes
Versions: 53
Compression:
Stored size: 846 Bytes
Contents
module Sass module Tree # A dynamic node representing a mixin definition. # # @see Sass::Tree class MixinDefNode < Node # The mixin name. # @return [String] attr_reader :name # The arguments for the mixin. # 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, Script::Node)>] attr_accessor :args # Whether the mixin uses `@content`. Set during the nesting check phase. # @return [Boolean] attr_accessor :has_content # @param name [String] The mixin name # @param args [Array<(Script::Node, Script::Node)>] See \{#args} def initialize(name, args) @name = name @args = args super() end end end end
Version data entries
53 entries across 53 versions & 1 rubygems