Files
codeql/rust/ql/lib/utils/test/internal/InlineExpectationsTestImpl.qll
2025-07-14 11:02:22 +02:00

15 lines
442 B
Plaintext

private import rust as R
private import R
private import codeql.util.test.InlineExpectationsTest
module Impl implements InlineExpectationsTestSig {
class ExpectationComment extends R::Comment {
ExpectationComment() { this.fromSource() }
/** Gets the contents of the given comment, _without_ the preceding comment marker (`//`). */
string getContents() { result = this.getCommentText() }
}
class Location = R::Location;
}