PegRules { public static PegRule<Dummy> skipBlanks(final String blanks) { return new PegWhiteSpaceRule(blanks); } private  PegRules(); static PegRule<R> named(final PegRule<R> innerRule, final String ruleName); static PegRule<Optional<R>> optional(final PegRule<R> rule); static PegRule<String> term(final String term); static PegRule<List<Object>> sequence(final PegRule<?>... rules); static PegRule<List<Object>> sequence(final List<PegRule<?>> rules); static PegRule<PegChoice> choice(final PegRule<?>... rules); static PegRule<PegChoice> choice(final List<PegRule<?>> rules); static PegRule<List<R>> zeroOrMore(final PegRule<R> rule, final boolean untilEnd); static PegRule<List<R>> oneOrMore(final PegRule<R> rule, final boolean untilEnd); static PegRule<Dummy> skipBlanks(final String blanks); static PegRule<String> word(final boolean emptyAccepted, final String checkedChars, final Mode mode, final String readableExpression); static PegRule<O> parseAll(final PegRule<O> innerRule); static String namedRulesAsHtml(final PegRule<?> rootRule);  }
@Test public void skipBlanks() throws PegNoMatchFoundException { Assertions.assertEquals(10, skipBlanks.parse("+++****+++").getIndex()); }