public List<Span> getTokens() {
        List<Span> spans = new ArrayList<>();
        getTokens(spans);
        return Collections.unmodifiableList(spans);
    }
Returns an unmodifiable list of all spans below this span that is a leaf node
container-search/src/main/java/com/yahoo/text/interpretation/Span.java