mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
11 lines
308 B
Plaintext
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() }
|
|
}
|