We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199b3f4 commit 611ed93Copy full SHA for 611ed93
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll
@@ -1058,6 +1058,15 @@ class MethodNode extends CallableNode {
1058
1059
/** Gets the name of this method. */
1060
string getMethodName() { result = this.asCallableAstNode().getName() }
1061
+
1062
+ /** Holds if this method is public. */
1063
+ predicate isPublic() { this.asCallableAstNode().isPublic() }
1064
1065
+ /** Holds if this method is private. */
1066
+ predicate isPrivate() { this.asCallableAstNode().isPrivate() }
1067
1068
+ /** Holds if this method is protected. */
1069
+ predicate isProtected() { this.asCallableAstNode().isProtected() }
1070
}
1071
1072
/**
0 commit comments