mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
16 lines
412 B
Plaintext
16 lines
412 B
Plaintext
private import codeql.ruby.AST as R
|
|
private import codeql.util.test.InlineExpectationsTest
|
|
|
|
module Impl implements InlineExpectationsTestSig {
|
|
private import codeql.ruby.ast.internal.TreeSitter
|
|
|
|
/**
|
|
* A class representing line comments in Ruby.
|
|
*/
|
|
class ExpectationComment extends Ruby::Comment {
|
|
string getContents() { result = this.getValue().suffix(1) }
|
|
}
|
|
|
|
class Location = R::Location;
|
|
}
|