Skip to content

Commit 766534d

Browse files
committed
docs: use Javadoc see tag
1 parent 49f119e commit 766534d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/main/java/io/github/treesitter/jtreesitter/LookaheadIterator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
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
2424
public final class LookaheadIterator implements AutoCloseable, Iterator<LookaheadIterator.Symbol> {

src/main/java/io/github/treesitter/jtreesitter/TreeCursor.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
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
2122
public final class TreeCursor implements AutoCloseable, Cloneable {

0 commit comments

Comments
 (0)