Class CssMixinNode

  • All Implemented Interfaces:
    Locatable

    public class CssMixinNode
    extends CssAtRuleNode
    A node representing a mixin.

    Mixins can be used in places where declarations are expected. They are replaced by the corresponding mixin definition. For example: @mixin gradient(top, 0%, 80%, 70%, #BADA55)

    • Constructor Detail

      • CssMixinNode

        public CssMixinNode​(CssMixinNode node)
        Creates a new mixin node that is a deep copy of the given node.
        Parameters:
        node - node
    • Method Detail

      • getDefinitionName

        public java.lang.String getDefinitionName()
      • getArguments

        public CssFunctionArgumentsNode getArguments()
        Returns the arguments belonging to this mixin as a node.