src/MarkdownIt/ParserInline.php
public function parse($str, $md, $env, &$outTokens)
    {
        $state = new StateInline($str, $md, $env, $outTokens);

        $this->tokenize($state);

        $rules = $this->ruler2->getRules('');

        foreach ( $rules as &$rule) {
            if( is_array($rule) )
                $rule[0]->{$rule[1]}($state);
            else
                $rule($state);
        }
    }
public function parse($str, $md, $env, &$outTokens)
    {
        $state = new StateInline($str, $md, $env, $outTokens);

        $this->tokenize($state);

        $rules = $this->ruler2->getRules('');

        foreach ( $rules as &$rule) {
            if( is_array($rule) )
                $rule[0]->{$rule[1]}($state);
            else
                $rule($state);
        }
    }
public function parse ( $ str , $ md , $ env , & $ outTokens ) { $ state = new StateInline ( $ str , $ md , $ env , $ outTokens ) ; $ this -> tokenize ( $ state ) ; $ rules = $ this -> ruler2 -> getRules ( '' ) ; foreach ( $ rules as & $ rule ) { if ( is_array ( $ rule ) ) $ rule [ 0 ] -> { $ rule [ 1 ] } ( $ state ) ; else $ rule ( $ state ) ; } }
Process input string and push inline tokens into `outTokens`

@param string     $str
@param MarkdownIt $md
@param string     $env
@param Token[]    $outTokens
Process input string and push inline tokens into outTokens