src/Behat/Gherkin/Lexer.php
protected function scanPyStringOp()
    {
        if (!$this->allowMultilineArguments) {
            return null;
        }

        if (false === ($pos = mb_strpos($this->line, '"""', 0, 'utf8'))) {
            return null;
        }

        $this->inPyString = !$this->inPyString;
        $token = $this->takeToken('PyStringOp');
        $this->pyStringSwallow = $pos;

        $this->consumeLine();

        return $token;
    }
protected function scanPyStringOp()
    {
        if (!$this->allowMultilineArguments) {
            return null;
        }

        if (false === ($pos = mb_strpos($this->line, '"""', 0, 'utf8'))) {
            return null;
        }

        $this->inPyString = !$this->inPyString;
        $token = $this->takeToken('PyStringOp');
        $this->pyStringSwallow = $pos;

        $this->consumeLine();

        return $token;
    }
protected function scanPyStringOp ( ) { if ( ! $ this -> allowMultilineArguments ) { return null ; } if ( false === ( $ pos = mb_strpos ( $ this -> line , '"""' , 0 , 'utf8' ) ) ) { return null ; } $ this -> inPyString = ! $ this -> inPyString ; $ token = $ this -> takeToken ( 'PyStringOp' ) ; $ this -> pyStringSwallow = $ pos ; $ this -> consumeLine ( ) ; return $ token ; }
Scans PyString from input & returns it if found.

@return null|array
Scans PyString from input & returns it if found .