Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Kahlan
Jit
TokenStream
getType
Kahlan\Jit\TokenStream::getType PHP Method
TokenStream Class Documentation
Mostrar archivo
Open project: crysalead/kahlan
getType()
public
method
Returns the type of a token.
public
getType
(
integer
$index
= null ) :
mixed
$index
integer
Token position, if none given, consider the current iteration position.
return
mixed
public function getType($index = null) { return $this->_getToken($index, 0); }
TokenStream
__construct
__toString
_getToken
_skip
count
current
getName
getType
getValue
is
key
load
next
nextMatchingBracket
nextSequence
offsetExists
offsetGet
offsetSet
offsetUnset
prev
rewind
seek
skipWhile
skipWhitespaces
source
valid