프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 mixed $value | ||
리턴 | mixed |