src/Behat/Gherkin/Lexer.php
protected function getNextToken()
    {
        return $this->getDeferredToken()
            ?: $this->scanEOS()
            ?: $this->scanLanguage()
            ?: $this->scanComment()
            ?: $this->scanPyStringOp()
            ?: $this->scanPyStringContent()
            ?: $this->scanStep()
            ?: $this->scanScenario()
            ?: $this->scanBackground()
            ?: $this->scanOutline()
            ?: $this->scanExamples()
            ?: $this->scanFeature()
            ?: $this->scanTags()
            ?: $this->scanTableRow()
            ?: $this->scanNewline()
            ?: $this->scanText();
    }
protected function getNextToken()
    {
        return $this->getDeferredToken()
            ?: $this->scanEOS()
            ?: $this->scanLanguage()
            ?: $this->scanComment()
            ?: $this->scanPyStringOp()
            ?: $this->scanPyStringContent()
            ?: $this->scanStep()
            ?: $this->scanScenario()
            ?: $this->scanBackground()
            ?: $this->scanOutline()
            ?: $this->scanExamples()
            ?: $this->scanFeature()
            ?: $this->scanTags()
            ?: $this->scanTableRow()
            ?: $this->scanNewline()
            ?: $this->scanText();
    }
protected function getNextToken ( ) { return $ this -> getDeferredToken ( ) ? : $ this -> scanEOS ( ) ? : $ this -> scanLanguage ( ) ? : $ this -> scanComment ( ) ? : $ this -> scanPyStringOp ( ) ? : $ this -> scanPyStringContent ( ) ? : $ this -> scanStep ( ) ? : $ this -> scanScenario ( ) ? : $ this -> scanBackground ( ) ? : $ this -> scanOutline ( ) ? : $ this -> scanExamples ( ) ? : $ this -> scanFeature ( ) ? : $ this -> scanTags ( ) ? : $ this -> scanTableRow ( ) ? : $ this -> scanNewline ( ) ? : $ this -> scanText ( ) ; }
Returns next token from input.

@return array
Returns next token from input .