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

[Home](./index.md) &gt; [@csstools/css-tokenizer](./css-tokenizer.md) &gt; [TokenType](./css-tokenizer.tokentype.md)

## TokenType enum

All possible CSS token types

**Signature:**

```typescript
export declare enum TokenType 
```

## Enumeration Members

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

Member


</th><th>

Value


</th><th>

Description


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

AtKeyword


</td><td>

`"at-keyword-token"`


</td><td>


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

BadString


</td><td>

`"bad-string-token"`


</td><td>


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

BadURL


</td><td>

`"bad-url-token"`


</td><td>


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

CDC


</td><td>

`"CDC-token"`


</td><td>


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

CDO


</td><td>

`"CDO-token"`


</td><td>


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

CloseCurly


</td><td>

`"}-token"`


</td><td>


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

CloseParen


</td><td>

`")-token"`


</td><td>


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

CloseSquare


</td><td>

`"]-token"`


</td><td>


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

Colon


</td><td>

`"colon-token"`


</td><td>


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

Comma


</td><td>

`"comma-token"`


</td><td>


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

Comment


</td><td>

`"comment"`


</td><td>


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

Delim


</td><td>

`"delim-token"`


</td><td>


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

Dimension


</td><td>

`"dimension-token"`


</td><td>


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

EOF


</td><td>

`"EOF-token"`


</td><td>


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

Function


</td><td>

`"function-token"`


</td><td>


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

Hash


</td><td>

`"hash-token"`


</td><td>


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

Ident


</td><td>

`"ident-token"`


</td><td>


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

Number


</td><td>

`"number-token"`


</td><td>


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

OpenCurly


</td><td>

`"{-token"`


</td><td>


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

OpenParen


</td><td>

`"(-token"`


</td><td>


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

OpenSquare


</td><td>

`"[-token"`


</td><td>


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

Percentage


</td><td>

`"percentage-token"`


</td><td>


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

Semicolon


</td><td>

`"semicolon-token"`


</td><td>


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

String


</td><td>

`"string-token"`


</td><td>


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

UnicodeRange


</td><td>

`"unicode-range-token"`


</td><td>

Only appears in the token stream when the `unicodeRangesAllowed` option is set to true.


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

URL


</td><td>

`"url-token"`


</td><td>


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

Whitespace


</td><td>

`"whitespace-token"`


</td><td>


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

