<!-- 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) &gt; [LayerName](./cascade-layer-name-parser.layername.md) &gt; [(constructor)](./cascade-layer-name-parser.layername._constructor_.md)

## LayerName.(constructor)

Constructs a new instance of the `LayerName` class

**Signature:**

```typescript
constructor(parts: Array<CSSToken>);
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

parts


</td><td>

Array&lt;CSSToken&gt;


</td><td>


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

