The reference at s[0, n): what the doc tool reads as one reference. Text * glued to it (`Foo,`, `http://x`) makes the whole word the (malformed) * reference. Returns its length, 0 when there is none. */
| 360 | * glued to it (`Foo,`, `http://x`) makes the whole word the (malformed) |
| 361 | * reference. Returns its length, 0 when there is none. */ |
| 362 | static size_t jv_java_ref(const char *s, size_t n) { |
| 363 | size_t r = jv_java_ref_len(s, n); |
| 364 | if (r < n && !jv_blank(s[r])) { |
| 365 | while (r < n && !jv_blank(s[r])) { |
| 366 | r++; |
| 367 | } |
| 368 | } |
| 369 | return r; |
| 370 | } |
| 371 | |
| 372 | /* The href of an `<a href="...">` at s[0, n): pushed as a URL. */ |
| 373 | static void jv_java_href(jv_doc_t *d, const char *s, size_t n, uint32_t line) { |
no test coverage detected