Class TokenIterator
- Yep\Tokenizer\TokenIterator implements Iterator, SeekableIterator
public
|
|
public
array|null
|
|
public
|
|
public
integer
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array|null
|
|
public
|
|
public
boolean
|
|
public
string|null
|
|
protected
array|null|string
|
#
doSomethingMagic( array $tokens = [], boolean $expected = true, boolean $only_first = false, boolean $join = false, boolean $prev = false )
Magic method which find and returns tokens |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
protected
integer
|
$position
|
#
-1
|
protected
array
|
$tokens
|
#
[]
|