lib/Aegis/Parser.php
public function parseOutsideTag() : void
    {
        if (!count($this->stream->getTokens())) {
            return;
        }

        if ($this->accept(Token::T_TEXT)) {
            $this->insert(new TextNode($this->getCurrentToken()->getValue()));
            $this->advance();
        }

        if ($this->skip(Token::T_OPENING_TAG)) {
            $this->parseStatement();
        }
    }
public function parseOutsideTag() : void
    {
        if (!count($this->stream->getTokens())) {
            return;
        }

        if ($this->accept(Token::T_TEXT)) {
            $this->insert(new TextNode($this->getCurrentToken()->getValue()));
            $this->advance();
        }

        if ($this->skip(Token::T_OPENING_TAG)) {
            $this->parseStatement();
        }
    }
public function parseOutsideTag ( ) : void { if ( ! count ( $ this -> stream -> getTokens ( ) ) ) { return ; } if ( $ this -> accept ( Token :: T_TEXT ) ) { $ this -> insert ( new TextNode ( $ this -> getCurrentToken ( ) -> getValue ( ) ) ) ; $ this -> advance ( ) ; } if ( $ this -> skip ( Token :: T_OPENING_TAG ) ) { $ this -> parseStatement ( ) ; } }
Parses outside of tags

@return void
Parses outside of tags