mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
11 lines
254 B
Plaintext
11 lines
254 B
Plaintext
import javascript
|
|
|
|
from ConstantExpr c
|
|
select c
|
|
|
|
query int getIntValue(Expr e) { result = e.getIntValue() }
|
|
|
|
query float getFloatValue(NumberLiteral e) { result = e.getFloatValue() }
|
|
|
|
query string getLiteralValue(Literal lit) { result = lit.getValue() }
|