public ParserTokenType lookAheadType ( int distance ) { ParserToken token = lookAhead ( distance ) ; return token == null ? null : token . type ; }
Looks ahead to determine the type of the token a given distance from the front of the stream .