SimpleLexer::isSpecialMode PHP Method

isSpecialMode() protected method

Test to see if the mode is one where this mode is entered for this token only and automatically leaves immediately afterwoods.
protected isSpecialMode ( string $mode ) : boolean
$mode string Mode to test.
return boolean True if this is the exit mode.
    protected function isSpecialMode($mode)
    {
        return strncmp($mode, '_', 1) == 0;
    }