Class CssFunctionNode

All Implemented Interfaces:
ChunkAware, Locatable
Direct Known Subclasses:
CssCustomFunctionNode

public class CssFunctionNode extends CssValueNode implements ChunkAware
A node representing a function.
  • Constructor Details

    • CssFunctionNode

      public CssFunctionNode(@Nullable CssFunctionNode.Function function, @Nullable SourceCodeLocation sourceCodeLocation)
      Constructor of the class.

      TODO(oana): Deal with the situation that we have an unrecognized function.

      Parameters:
      function - function
      sourceCodeLocation - sourceCodeLocation
    • CssFunctionNode

      public CssFunctionNode(CssFunctionNode function)
      Copy constructor.
      Parameters:
      function - function
    • CssFunctionNode

      protected CssFunctionNode(@Nullable SourceCodeLocation sourceCodeLocation, @Nullable CssFunctionNode.Function function)
      Constructor used by the proxy mechanism, avoids unnecessary arguments node initialization.

      NOTE(dgajda): The signature of this constructor only differs in argument order from the main constructor of this class.

      Parameters:
      function - implementation of the function which is "called" by this node
      sourceCodeLocation - location of this node
  • Method Details