forEachLeadingCommentRange

external fun <U> forEachLeadingCommentRange(text: String, pos: Double, cb: (pos: Double, end: Double, kind: CommentKind, hasTrailingNewLine: Boolean) -> U): U?(source)
external fun <T, U> forEachLeadingCommentRange(text: String, pos: Double, cb: (pos: Double, end: Double, kind: CommentKind, hasTrailingNewLine: Boolean, state: T) -> U, state: T): U?(source)