We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650f472 commit 9e75c00Copy full SHA for 9e75c00
2 files changed
actions/ql/lib/codeql/actions/ast/internal/Ast.qll
@@ -1920,3 +1920,5 @@ private YamlMappingLikeNode resolveMatrixAccessPath(
1920
else result = resolveMatrixAccessPath(newRoot, rest)
1921
)
1922
}
1923
+
1924
+class Comment = YamlComment;
actions/ql/lib/codeql/actions/ast/internal/Yaml.qll
@@ -52,6 +52,12 @@ private module YamlSig implements LibYaml::InputSig {
52
class ParseErrorBase extends LocatableBase, @yaml_error {
53
string getMessage() { yaml_errors(this, result) }
54
55
56
+ class CommentBase extends LocatableBase, @yaml_comment {
57
+ string getText() { yaml_comments(this, result, _) }
58
59
+ override string toString() { yaml_comments(this, _, result) }
60
+ }
61
62
63
import LibYaml::Make<YamlSig>
0 commit comments