mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
"Floating point" refers to both `double` and `float`, and is also used by the JLS in this way. Therefore the old CodeQL class name for `float` literals was misleading.
10 lines
195 B
Plaintext
10 lines
195 B
Plaintext
import java
|
|
|
|
from Literal l
|
|
where
|
|
l instanceof IntegerLiteral or
|
|
l instanceof LongLiteral or
|
|
l instanceof FloatLiteral or
|
|
l instanceof DoubleLiteral
|
|
select l, l.getValue(), l.getParent()
|