MCPcopy Create free account
hub / github.com/boalang/compiler / isFloatLit

Method isFloatLit

src/java/boa/functions/langmode/JavaLangMode.java:141–153  ·  view source on GitHub ↗

Returns true if the expression e is of kind LITERAL and is a float literal. The test is a simplified grammar, based on the one from: https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.10 DecimalFloatingPointLiteral: [0-9] ([0-9_] [0-9])

(final Expression e)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

matchesMethod · 0.80
getKindMethod · 0.65
hasLiteralMethod · 0.65
getLiteralMethod · 0.65

Tested by

no test coverage detected