프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$column | integer | The 1-indexed column number at which this Token begins. | |
$end | integer | The character offset at which this Node ends. | |
$kind | string | The kind of Token (see one of constants above). | |
$line | integer | The 1-indexed line number on which this Token appears. | |
$next | |||
$prev | Tokens exist as nodes in a double-linked-list amongst all tokens
including ignored tokens. |
||
$start | integer | The character offset at which this Node begins. | |
$value | string | null |
메소드 | 설명 | |
---|---|---|
__construct ( $kind, $start, $end, $line, $column, |
Token constructor. | |
getDescription ( ) : string | ||
getKindDescription ( $kind ) : mixed | ||
toArray ( ) : array |
public __construct ( $kind, $start, $end, $line, $column, |
||
$kind | ||
$start | ||
$end | ||
$line | ||
$column | ||
$previous | ||
$value | null |
public int $column | ||
리턴 | integer |
public Token,GraphQL\Language $prev | ||
리턴 |