private String toString(IElementType[] tokens) {
        return Arrays.stream(tokens).map(token -> token.getDebugName()).collect(Collectors.joining(", "));
    }
Returns the current token (AST node), or null if we have reached the end.
integration/intellij/src/main/java/ai/vespa/intellij/schema/utils/Tokens.java