Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 995b732

Browse files
committed
Add missing QLDoc
1 parent 21b51b4 commit 995b732

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • java/ql/lib/semmle/code/java/frameworks/kotlin

java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class KtToRegex extends MethodAccess {
1414
this.getMethod().hasName("toRegex")
1515
}
1616

17+
/** Gets the constant string value being converted to a regex by this call. */
1718
string getExpressionString() {
1819
result = this.getArgument(0).(CompileTimeConstantExpr).getStringValue()
1920
}

0 commit comments

Comments
 (0)