CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Member predicate Impl::Function::getPrecedingComment

Gets a comment preceding this function.

A comment is considered preceding if it occurs immediately before this function or if only other comments occur between the comment and this function.

Comment getPrecedingComment()