File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/io/github/treesitter/jtreesitter Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1414/**
1515 * A class that is used to look up valid symbols in a specific parse state.
1616 *
17- * <p>Iterator instances can be created using {@link Language#lookaheadIterator(short)}.
18- *
1917 * <p>Lookahead iterators can be useful to generate suggestions and improve syntax error diagnostics.<br>
2018 * To get symbols valid in an {@index ERROR} node, use the lookahead iterator on its first leaf node state.<br>
2119 * For {@index MISSING} nodes, a lookahead iterator created on the previous non-extra leaf node may be appropriate.
20+ *
21+ * @see Language#lookaheadIterator(short)
2222 */
2323@ NullMarked
2424public final class LookaheadIterator implements AutoCloseable , Iterator <LookaheadIterator .Symbol > {
Original file line number Diff line number Diff line change 1212/**
1313 * A class that can be used to efficiently walk a {@linkplain Tree syntax tree}.
1414 *
15- * <p>A cursor can be created using {@link Tree#walk()} and {@link Node#walk()}.
16- *
1715 * @apiNote The node the cursor was constructed with is considered the
1816 * root of the cursor, and the cursor cannot walk outside this node.
17+ *
18+ * @see Tree#walk()
19+ * @see Node#walk()
1920 */
2021@ NullMarked
2122public final class TreeCursor implements AutoCloseable , Cloneable {
You can’t perform that action at this time.
0 commit comments