Files
codeql/rust/ql/test/utils/internal/InlineExpectationsTestImpl.qll
2024-10-01 13:38:18 +02: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;
}