Свойство | Тип | Описание | |
---|---|---|---|
$flags | integer | The flags of this token. | |
$position | integer | The position in the initial string where this token started. | |
$token | string | The token it its raw string representation. | |
$type | integer | The type of this token. | |
$value | mixed | The value this token contains (i.e. token after some evaluation) |
Метод | Описание | |
---|---|---|
__construct ( string $token, integer $type, integer $flags ) | Constructor. | |
extract ( ) : mixed | Does little processing to the token to extract a value. | |
getInlineToken ( ) : string | Converts the token into an inline token by replacing tabs and new lines. |
public getInlineToken ( ) : string | ||
Результат | string |
public int $position | ||
Результат | integer |
public string $token | ||
Результат | string |
public mixed $value | ||
Результат | mixed |