Files
codeql/rust/ql/lib/utils/test/internal/InlineExpectationsTestImpl.qll
2024-12-12 15:03:01 +01:00

13 lines
394 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 {
/** Gets the contents of the given comment, _without_ the preceding comment marker (`//`). */
string getContents() { result = this.getCommentText() }
}
class Location = R::Location;
}