mirror of
https://github.com/github/codeql.git
synced 2026-08-06 10:18:43 +02:00
12 lines
270 B
Plaintext
12 lines
270 B
Plaintext
class AstNode extends @ruby_ast_node {
|
|
string toString() { none() }
|
|
}
|
|
|
|
from AstNode node, AstNode body
|
|
where
|
|
ruby_class_def(node, _) and
|
|
ruby_ast_node_info(body, node, _, _) and
|
|
ruby_tokeninfo(body, _, "end") and
|
|
ruby_class_child(node, _, _)
|
|
select node, body
|