Parle\Lexer::calloutDefine token callback Descriptionpublic void Parle\Lexer::callout(int
$id , callable $callback )Define a callback to be invoked once lexer encounters a particular token. Parameters
Return ValuesNo value is returned. |