[Home](./index.md) > [@csstools/css-parser-algorithms](./css-parser-algorithms.md) > [SimpleBlockNode](./css-parser-algorithms.simpleblocknode.md)
## SimpleBlockNode class
A simple block node.
**Signature:**
```typescript
export declare class SimpleBlockNode extends ContainerNodeBaseClass
```
**Extends:** [ContainerNodeBaseClass](./css-parser-algorithms.containernodebaseclass.md)
## Example
```js
const node = parseComponentValue(tokenize('[foo=bar]'));
isSimpleBlockNode(node); // true
node.startToken; // [TokenType.OpenSquare, '[', 0, 0, undefined]
```
## Constructors
|
Constructor
|
Modifiers
|
Description
|
|
[(constructor)(startToken, endToken, value)](./css-parser-algorithms.simpleblocknode._constructor_.md)
|
|
Constructs a new instance of the `SimpleBlockNode` class
|
## Properties
|
Property
|
Modifiers
|
Type
|
Description
|
|
[endToken](./css-parser-algorithms.simpleblocknode.endtoken.md)
|
|
CSSToken
|
The token for the closing token of the block. If the block is closed it will be the mirror variant of the `startToken`. If the block is unclosed, this will be an EOF token.
|
|
[startToken](./css-parser-algorithms.simpleblocknode.starttoken.md)
|
|
CSSToken
|
The token for the opening token of the block.
|
|
[type](./css-parser-algorithms.simpleblocknode.type.md)
|
|
[ComponentValueType](./css-parser-algorithms.componentvaluetype.md)
|
The node type, always `ComponentValueType.SimpleBlock`
|
## Methods
|
Method
|
Modifiers
|
Description
|
|
[normalize()](./css-parser-algorithms.simpleblocknode.normalize.md)
|
|
Normalize the current simple block 1. if the "endToken" is EOF, replace with the mirror token of the "startToken"
|
|
[tokens()](./css-parser-algorithms.simpleblocknode.tokens.md)
|
|
Retrieve the tokens for the current simple block. This is the inverse of parsing from a list of tokens.
|
|
[toString()](./css-parser-algorithms.simpleblocknode.tostring.md)
|
|
Convert the current simple block to a string. This is not a true serialization. It is purely a concatenation of the string representation of the tokens.
|