Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SimpleLexer
isSpecialMode
SimpleLexer::isSpecialMode PHP Method
SimpleLexer Class Documentation
Show file
Open project: simpletest/simpletest
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; }
SimpleLexer
__construct
addEntryPattern
addExitPattern
addPattern
addSpecialPattern
decodeSpecial
dispatchTokens
invokeParser
isModeEnd
isSpecialMode
mapHandler
parse
reduce