public static tagValues(text as String, tag as String) as ArrayList<String>
Extracts all values for a repeatable KlynDoc tag (such as @param or @throws), joining wrapped continuation lines.
| Parameter | Description |
|---|---|
text | Cleaned documentation text. |
tag | Tag name including @ (e.g. "@param"). |
Ordered list of tag payload strings.
import klyn.code.klyn doc = "@param a First value.\n@param b Second value." params = KlynDocComment.tagValues(doc, "@param") assert params.size == 2