CloneableInstantiable
- Extends
PhpToken - Children
- Implements
Stringable
Properties |
Methods |
Methods |
PhpToken |
Stringable |
Properties |
public int PhpToken::$id |
public int PhpToken::$line |
public int PhpToken::$pos |
public string PhpToken::$text |
Methods |
public final PhpToken::__construct(int $id, string $text, int $line = -1, int $pos = -1) |
public PhpToken::__toString() : string |
public PhpToken::getTokenName() : ?string |
public PhpToken::is( $kind) : bool |
public PhpToken::isIgnorable() : bool |
public static PhpToken::tokenize(string $code, int $flags = 0) : array |
Methods |
public static PhpToken::tokenize(string $code, int $flags = 0) : array |