shared/literal_utils library
Functions
-
isBooleanOrNullLiteral(
String token) → bool -
Checks if a token is a boolean or null literal (
true,false,null). -
isNumericLiteral(
String token) → bool - Checks if a token represents a valid numeric literal.