That function is needed to determine what kind of statement or expression will follow when we encounter a `[` or a `{`. As the lint is based on Pratt algorithm, when the first token of a statement is ambiguous, there is need to look ahead.