Follow the same format as the base razor ChunkVisitor:

```C#
if (chunk is LiteralChunk)
{
    Visit((LiteralChunk)chunk);
}
```

This will make it easier to add more chunks that it can accept later on because there'll be a standard way of adding them.