%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/ModeInterface.php

<?php

namespace dokuwiki\Parsing\ParserMode;

/**
 * Defines a mode (syntax component) in the Parser
 */
interface ModeInterface
{
    /**
     * returns a number used to determine in which order modes are added
     *
     * @return int;
     */
    public function getSort();

    /**
     * Called before any calls to connectTo
     *
     * @return void
     */
    public function preConnect();

    /**
     * Connects the mode
     *
     * @param string $mode
     * @return void
     */
    public function connectTo($mode);

    /**
     * Called after all calls to connectTo
     *
     * @return void
     */
    public function postConnect();

    /**
     * Check if given mode is accepted inside this mode
     *
     * @param string $mode
     * @return bool
     */
    public function accepts($mode);
}

Zerion Mini Shell 1.0