Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcf2d4c commit cc1bdf1Copy full SHA for cc1bdf1
1 file changed
ql/src/codeql_ruby/AST.qll
@@ -106,7 +106,10 @@ class AstNode extends TAstNode {
106
final AstNode getDesugared() { result = getSynthChild(this, -1) }
107
}
108
109
+/** A Ruby source file */
110
class RubyFile extends File {
111
+ RubyFile() { ruby_ast_node_parent(_, this, _) }
112
+
113
/** Gets a token in this file. */
114
private Ruby::Token getAToken() { result.getLocation().getFile() = this }
115
0 commit comments