Search


Search something to see results

PropertyList

Represents a list of property declarations, compute shorthand and remove duplicate declarations.

Index

Constructors

Methods

Properties

Parameters

  • arena: AstArena
  • options: PropertyListOptions = {}
  • memo: DeclarationMemo | null = null

    keys shared by the lists that use the same arena

  • descriptors: Record<string, ValidationToken[]> | null = null

    syntaxes of the descriptors of the at-rule that contains the declarations

Returns PropertyList

Returns IterableIterator<number>

add a declaration

Parameters

  • declaration: number

    node id

Returns this

Parameters

Returns void

arena: AstArena

arena the declarations are stored in

declarations: Map<string, number | PropertySet | PropertyMap>

declarations

descriptors: Record<string, ValidationToken[]> | null

syntaxes of the descriptors of the at-rule that contains the declarations: result in @function. the declarations that are not validated are validated with them

memo: DeclarationMemo

keys shared by the lists that use the same arena

options: PropertyListOptions = ...

options