Skip to content

Commit 332cc34

Browse files
author
Torben Köhn
committed
Updated README
1 parent e0d844a commit 332cc34

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ If no spaces are encountered, it just returns `null`.
6363

6464
Now we want to parse the assignment-operator (`=`) (or rather, validate that it's there)
6565
```php
66-
6766
if (!$reader->peekChar('='))
6867
throw new Exception("Failed to read: Assignment expected");
6968

@@ -93,7 +92,6 @@ If you want to add other escaping, use the first parameter of `readString`.
9392

9493
Now you have all parts parsed to make up your actual action
9594
```php
96-
9795
echo "Set `$identifier` to `$string`"; //Set `someString` to `some string`
9896
```
9997

@@ -105,7 +103,6 @@ This was just a small example, Tale Reader is made for loop-parsing.
105103
## Build a small tokenizer
106104

107105
```php
108-
109106
use Tale\Reader;
110107

111108
//Some C-style example code
@@ -216,7 +213,6 @@ var_dump($tokens);
216213
['type' => 'blockEnd']
217214
]
218215
*/
219-
220216
```
221217

222218

@@ -232,7 +228,6 @@ a(href=getUri('/abc', true), title=(title ? title : 'Sorry, no title.'))
232228

233229
To parse this, let's do the following:
234230
```php
235-
236231
//Scan Identifier ("a")
237232
$identifier = $reader->readIdentifier();
238233

0 commit comments

Comments
 (0)