tokenAt

open override fun tokenAt(index: Int): T

Returns the Token at the specified index in this node's children.

Return

The token at the specified position

Parameters

index

The zero-based index of the child

Throws

if no child exists at index or the child is not a token