is Token At
Returns true if the child at index is a token (i.e. a TokenNode).
Return
true if the child is a token, false otherwise
Parameters
index
The zero-based index of the child
Returns true if the child at index is a token that satisfies the predicate.
Return
true if the child is a token and satisfies the predicate, false otherwise
Parameters
index
The zero-based index of the child
predicate
A function that tests the token