%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/recepty.varak.net/inc/Parsing/ParserMode/
Upload File :
Create Path :
Current File : /www/varak.net/recepty.varak.net/inc/Parsing/ParserMode/Code.php

<?php

namespace dokuwiki\Parsing\ParserMode;

class Code extends AbstractMode
{

    /** @inheritdoc */
    public function connectTo($mode)
    {
        $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code');
    }

    /** @inheritdoc */
    public function postConnect()
    {
        $this->Lexer->addExitPattern('</code>', 'code');
    }

    /** @inheritdoc */
    public function getSort()
    {
        return 200;
    }
}

Zerion Mini Shell 1.0