CssParserFunction Class

A function (https://wicg.github.io/css-parser-api/#cssparserfunction, https://drafts.csswg.org/css-syntax-3/#function): its name and its arguments, the component values between the commas at the top level of the function.

public sealed class CssParserFunction : CssParserValue
Inheritance
CssParserValue CssParserFunction

Constructors

NameDescription
CssParserFunction(string, IEnumerable<IEnumerable<CssParserToken>>)Creates a function (https://wicg.github.io/css-parser-api/#dom-cssparserfunction-cssparserfunction).

CssParserFunction(string, IEnumerable<IEnumerable<CssParserToken>>)

CssParserObjects.cs

Creates a function (https://wicg.github.io/css-parser-api/#dom-cssparserfunction-cssparserfunction).

public CssParserFunction(string name, IEnumerable<IEnumerable<CssParserToken>> args)

Parameters

name string
The name of the function, without the parenthesis.
args IEnumerable<IEnumerable<CssParserToken>>
The arguments: the component values between the commas.

See also

Properties

NameDescription
ArgsGets the arguments: the component values between the commas at the top level of the function (n commas separate n + 1 arguments; a function without component values has no argument).
NameGets the name of the function, without the parenthesis.

Gets the arguments: the component values between the commas at the top level of the function (n commas separate n + 1 arguments; a function without component values has no argument).

Gets the name of the function, without the parenthesis.

public string Name { get; }