Lexer.php
protected function scanTextLine()
    {

        if (!$this->match('([!]?)\|'))
            return;

        $this->consumeMatch();

        foreach ($this->scanTextBlock($this->getMatch(1) === '!') as $token)
            yield $token;
    }
protected function scanTextLine()
    {

        if (!$this->match('([!]?)\|'))
            return;

        $this->consumeMatch();

        foreach ($this->scanTextBlock($this->getMatch(1) === '!') as $token)
            yield $token;
    }
protected function scanTextLine ( ) { if ( ! $ this -> match ( '([!]?)\|' ) ) return ; $ this -> consumeMatch ( ) ; foreach ( $ this -> scanTextBlock ( $ this -> getMatch ( 1 ) === '!' ) as $ token ) yield $ token ; }
Scans for a |-style text-line and yields it along
with a text-block, if it has any.

@return \Generator
Scans for a | - style text - line and yields it along with a text - block if it has any .