Lines Matching refs:token
20 part of a following `T_WHITESPACE` token.
47 /** @var string The textual content of the token. */
49 /** @var int The 1-based starting line of the token (or -1 if unknown). */
51 /** @var int The 0-based starting position of the token (or -1 if unknown). */
59 Unlike PHP's own `PhpToken::tokenize()` output, the token array is terminated by a sentinel token w…
69 …* `startTokenPos`: Offset into the token array of the first token in the node. Used by `$node->get…
70 …* `endTokenPos`: Offset into the token array of the last token in the node. Used by `$node->getEnd…
75 token will have `startTokenPos == endTokenPos` rather than `startTokenPos + 1 == endTokenPos`. This…
78 ### Using token positions
85 The token offset information is useful if you wish to examine the exact formatting used for a node.…
87 information based on the token position: