public ASTNode current() {
        if (i >= nodes.length) return null;
        return nodes[i];
    }
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