int start) {
// カーソルを改行文字へ
int offset = 0;
while (true) {
JavadocTokenKind kind = scanner.lookahead(start + offset).getKind();
if (kind == JavadocTokenKind.LEFT_BRACE) {
offset++;
JavadocTokenKind la = scanner.lookahead(start + offset).getKind();
if (la == JavadocTokenKind.AT) {
offset++;
offset += countUntil(S_RIGHT_BRACE, scanner, start + offset);
}
} else if (kind == JavadocTokenKind.LINE_BREAK) {
offset += countUntilNextPrintable(scanner, start + offset);
JavadocTokenKind la = scanner.lookahead(start + offset).getKind();
if (la == JavadocTokenKind.AT) {
return offset;
}
} else if (kind == JavadocTokenKind.EOF) {
return offset;