Skip to content

Commit 30c8aab

Browse files
committed
Remove example code from documentation
1 parent e296a53 commit 30c8aab

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

language-tree-sitter-utils/src/main/java/de/jplag/treesitter/TreeSitterVisitor.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,6 @@ public final void traverse(Node node) {
7979
* Subclasses must implement this method to populate the {@link #enterHandlers} and {@link #exitHandlers} maps with the
8080
* appropriate node type handlers.
8181
* </p>
82-
* <p>
83-
* Example:
84-
*
85-
* <pre>{@code
86-
* protected void initializeHandlers() {
87-
* enterHandlers.put("class_definition", node -> addToken(CLASS_BEGIN, node));
88-
* exitHandlers.put("class_definition", node -> addToken(CLASS_END, node));
89-
* }
90-
* }</pre>
91-
* </p>
9282
*/
9383
protected abstract void initializeHandlers();
9484

0 commit comments

Comments
 (0)