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

[Home](./index.md) &gt; [@csstools/css-parser-algorithms](./css-parser-algorithms.md) &gt; [ContainerNodeBaseClass](./css-parser-algorithms.containernodebaseclass.md)

## ContainerNodeBaseClass class

**Signature:**

```typescript
export declare abstract class ContainerNodeBaseClass 
```

## Properties

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

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


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

[value](./css-parser-algorithms.containernodebaseclass.value.md)


</td><td>


</td><td>

Array&lt;[ComponentValue](./css-parser-algorithms.componentvalue.md)<!-- -->&gt;


</td><td>

The contents of the `Function` or `Simple Block`<!-- -->. This is a list of component values.


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

## Methods

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

Method


</th><th>

Modifiers


</th><th>

Description


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

[at(index)](./css-parser-algorithms.containernodebaseclass.at.md)


</td><td>


</td><td>

Retrieve the item at the given index in the current node. For most node types this will be trivially implemented as `this.value[index]`<!-- -->.


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

[forEach(this, cb, state)](./css-parser-algorithms.containernodebaseclass.foreach.md)


</td><td>


</td><td>

Iterates over each item in the `value` array of the current node.


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

[indexOf(item)](./css-parser-algorithms.containernodebaseclass.indexof.md)


</td><td>


</td><td>

Retrieve the index of the given item in the current node. For most node types this will be trivially implemented as `this.value.indexOf(item)`<!-- -->.


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

[walk(this, cb, state)](./css-parser-algorithms.containernodebaseclass.walk.md)


</td><td>


</td><td>

Walks the current node and all its children.


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

