Gets the token offset of the last token that is part of this node.
The offset is an index into the array returned by Lexer::getTokens().
Requires the 'endTokenPos' attribute to be enabled in the lexer (DISABLED by default).
int Token end position (or -1 if not available)
Overrides Node::getEndTokenPos
public function getEndTokenPos() : int { return $this->attributes['endTokenPos'] ?? -1; }