mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Add missing QLdoc
This commit is contained in:
@@ -33,6 +33,9 @@ class InclusionTest extends DataFlow::Node instanceof InclusionTest::Range {
|
||||
boolean getPolarity() { result = super.getPolarity() }
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains classes for recognizing array and string inclusion tests.
|
||||
*/
|
||||
module InclusionTest {
|
||||
/**
|
||||
* A expression that is equivalent to `A.include?(B)` or `!A.include?(B)`.
|
||||
|
||||
@@ -7,6 +7,9 @@ private import codeql.ruby.DataFlow
|
||||
private import codeql.ruby.controlflow.CfgNodes
|
||||
private import InclusionTests
|
||||
|
||||
/**
|
||||
* Provides classes for reasoning about string-manipulating expressions.
|
||||
*/
|
||||
module StringOps {
|
||||
/**
|
||||
* A expression that is equivalent to `A.start_with?(B)` or `!A.start_with?(B)`.
|
||||
@@ -31,6 +34,9 @@ module StringOps {
|
||||
boolean getPolarity() { result = super.getPolarity() }
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides classes implementing prefix test expressions.
|
||||
*/
|
||||
module StartsWith {
|
||||
/**
|
||||
* A expression that is equivalent to `A.start_with?(B)` or `!A.start_with?(B)`.
|
||||
@@ -133,6 +139,9 @@ module StringOps {
|
||||
boolean getPolarity() { result = super.getPolarity() }
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides classes implementing suffix test expressions.
|
||||
*/
|
||||
module EndsWith {
|
||||
/**
|
||||
* An expression that is equivalent to `A.end_with?(B)` or `!A.end_with?(B)`.
|
||||
|
||||
Reference in New Issue
Block a user