~ancarda/gemtext-parser

gemtext-parser/src/ParserInterface.php -rw-r--r-- 259 bytes
356266afMark Dain Add contributing guidelines 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Ancarda\Gemini\Gemtext;

use Generator;

interface ParserInterface
{
    /**
     * @param iterable<string> $lines
     * @return Generator<Node\Node>
     */
    public function parse(iterable $lines): Generator;
}