<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/cascade-layer-name-parser](./cascade-layer-name-parser.md)

## cascade-layer-name-parser package

## Classes

<table><thead><tr><th>

Class


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[LayerName](./cascade-layer-name-parser.layername.md)


</td><td>


</td></tr>
</tbody></table>

## Functions

<table><thead><tr><th>

Function


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[addLayerToModel(layers, currentLayerNames)](./cascade-layer-name-parser.addlayertomodel.md)


</td><td>


</td></tr>
<tr><td>

[parse(source, options)](./cascade-layer-name-parser.parse.md)


</td><td>


</td></tr>
<tr><td>

[parseFromTokens(tokens, options)](./cascade-layer-name-parser.parsefromtokens.md)


</td><td>

Parses an array of [CSSTokens](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/docs/css-tokenizer.csstoken.md) into a list of cascade layer names.


</td></tr>
</tbody></table>

