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

Method isIntLit

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

Returns true if the expression e is of kind LITERAL and is an integer 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 DecimalNumeral: [0-9] [lL]? [1-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