Property | Type | Description | |
---|---|---|---|
$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) |
Method | Description | |
---|---|---|
__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 | ||
return | string |
public int $position | ||
return | integer |
public string $token | ||
return | string |
public mixed $value | ||
return | mixed |