Files
codeql/go/ql/test/TestUtilities/InlineExpectationsTestPrivate.qll
2022-05-20 10:07:19 -07:00

11 lines
308 B
Plaintext

import go
/**
* Represents a line comment in the Go style.
* include the preceding comment marker (`//`).
*/
class ExpectationComment extends Comment {
/** Returns the contents of the given comment, _without_ the preceding comment marker (`//`). */
string getContents() { result = this.getText() }
}