From 2154b7df3000866913846e9c5989fbfe698aade3 Mon Sep 17 00:00:00 2001 From: Alex Ford Date: Mon, 10 May 2021 11:02:48 +0100 Subject: [PATCH] add doc for IntegerLiteral.getValue --- ql/src/codeql_ruby/ast/Literal.qll | 1 + 1 file changed, 1 insertion(+) diff --git a/ql/src/codeql_ruby/ast/Literal.qll b/ql/src/codeql_ruby/ast/Literal.qll index fbf06f0e8cb..6a6cfc9ab5c 100644 --- a/ql/src/codeql_ruby/ast/Literal.qll +++ b/ql/src/codeql_ruby/ast/Literal.qll @@ -47,6 +47,7 @@ class IntegerLiteral extends NumericLiteral, TIntegerLiteral { final override string getValueText() { result = g.getValue() } + /** Gets the numerical value of this integer literal. */ final int getValue() { exists(string s, string values, string str | s = this.getValueText().toLowerCase() and