Tokens { public static Fragment decimalLiteral(String s) { return fragment(s, Tag.DECIMAL); } private  Tokens(); static Fragment fragment(String text, Object tag); static Fragment reserved(String name); static Fragment identifier(String name); static Fragment decimalLiteral(String s); static Fragment integerLiteral(String s); static ScientificNotation scientificNotation(String significand, String exponent);  }
@Test public void testDecimal() { assertFragment(Tokens.Tag.DECIMAL, "123", Tokens.decimalLiteral("123")); }