alef-backend-java 0.16.65

Java (Panama FFM) backend for alef
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ header }}package {{ package }};

/** Context passed to every visitor callback. */
public record NodeContext(
        /** Coarse-grained node type tag. */
        int nodeType,
        /** HTML element tag name (e.g. "div"). */
        String tagName,
        /** DOM depth (0 = root). */
        long depth,
        /** 0-based sibling index. */
        long indexInParent,
        /** Parent element tag name, or null at the root. */
        String parentTag,
        /** True when this element is treated as inline. */
        boolean isInline
) {}