Skip to content

Commit 8bdbfa8

Browse files
author
Colin Wilmans
committed
README.md - Updated kickoff examples
1 parent ed1c80d commit 8bdbfa8

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,23 @@ Collection of tokenizers for Markup, JSON, XML, SQL, Typescript and CSharp proce
44
### Kickoff token processing
55

66
```csharp
7-
await MarkupTokenizer.Create().ParseAsync(stream, onToken: async token => { /* handle tokens here */ }
7+
// kickoff markup tokenizer
8+
await MarkupTokenizer.Create().ParseAsync(stream, onToken: async token => { /* handle markup-tokens here */ })
9+
10+
// kickoff csharp tokenizer
11+
await CSharpTokenizer.Create().ParseAsync(stream, onToken: token => { /* handle csharp-tokens here */ })
12+
13+
// kickoff json tokenizer
14+
await JsonTokenizer.Create().ParseAsync(stream, onToken: token => { /* handle json-tokens here */ })
15+
16+
// kickoff sql tokenizer
17+
await SqlTokenizer.Create().ParseAsync(stream, onToken: token => { /* handle sql-tokens here */ })
18+
19+
// kickoff typescript tokenizer
20+
await TypescriptTokenizer.Create().ParseAsync(stream, onToken: token => { /* handle typescript-tokens here */ })
21+
22+
// kickoff xml tokenizer
23+
await XmlTokenizer.Create().ParseAsync(stream, onToken: token => { /* handle xml-tokens here */ }
824
```
925

1026
## Overview

0 commit comments

Comments
 (0)