File tree Expand file tree Collapse file tree
ruby/ql/lib/utils/test/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ module Impl implements InlineExpectationsTestSig {
88 RubyComment ( Ruby:: Comment comment ) or
99 ErbComment ( R:: ErbComment comment )
1010
11- private class AnyComment extends TAnyComment {
11+ /**
12+ * A class representing comments that may contain inline expectations (Ruby line comments and ERB comments).
13+ */
14+ class ExpectationComment extends TAnyComment {
1215 string toString ( ) {
1316 exists ( Ruby:: Comment c |
1417 this = RubyComment ( c ) and
@@ -32,12 +35,7 @@ module Impl implements InlineExpectationsTestSig {
3235 result = c .getLocation ( )
3336 )
3437 }
35- }
3638
37- /**
38- * A class representing comments that may contain inline expectations (Ruby line comments and ERB comments).
39- */
40- class ExpectationComment extends AnyComment {
4139 string getContents ( ) {
4240 exists ( Ruby:: Comment c |
4341 this = RubyComment ( c ) and
You can’t perform that action at this time.
0 commit comments