@Test public void testBuiltin() { Map<String, Helper> helpers = HelpersBuilder.builtin().build(); assertEquals(5, helpers.size()); assertTrue(helpers.containsKey(HelpersBuilder.EACH)); assertTrue(helpers.containsKey(HelpersBuilder.IF)); assertTrue(helpers.containsKey(HelpersBuilder.IS)); assertTrue(helpers.containsKey(HelpersBuilder.UNLESS)); assertTrue(helpers.containsKey(HelpersBuilder.WITH)); }
public static HelpersBuilder builtin() { return empty().addBuiltin(); }
HelpersBuilder { public static HelpersBuilder builtin() { return empty().addBuiltin(); } }
HelpersBuilder { public static HelpersBuilder builtin() { return empty().addBuiltin(); } private  HelpersBuilder(); }
HelpersBuilder { public static HelpersBuilder builtin() { return empty().addBuiltin(); } private  HelpersBuilder(); HelpersBuilder add(String name, Helper helper); HelpersBuilder addEach(); HelpersBuilder addIf(); HelpersBuilder addIf(String elseStartDelimiter, String elseEndDelimiter); HelpersBuilder addUnless(); HelpersBuilder addWith(); HelpersBuilder addIs(); HelpersBuilder addIsEven(); HelpersBuilder addIsOdd(); HelpersBuilder addSet(); HelpersBuilder addInclude(); HelpersBuilder addEmbed(); HelpersBuilder addEmbed(SourceProcessor processor); HelpersBuilder addIsEqual(); HelpersBuilder addIsNotEqual(); HelpersBuilder addIsNull(); HelpersBuilder addIsNotNull(); HelpersBuilder addChoose(); HelpersBuilder addSwitch(); HelpersBuilder addSwitch(boolean caseDefaultIsBreak); HelpersBuilder addJoin(); HelpersBuilder addEval(); HelpersBuilder addEval(Notation notation); HelpersBuilder addNumExpr(); HelpersBuilder addNumExpr(Operator defaultOperator); HelpersBuilder addAsync(); HelpersBuilder addInvoke(); HelpersBuilder addAlt(); HelpersBuilder addAlt(Selector selector); HelpersBuilder addMin(); HelpersBuilder addMax(); HelpersBuilder addCache(); HelpersBuilder addRepeat(); HelpersBuilder addFmt(); HelpersBuilder addTag(); HelpersBuilder addBuiltin(); HelpersBuilder addExtra(); Map<String, Helper> build(); static HelpersBuilder empty(); static HelpersBuilder builtin(); static HelpersBuilder extra(); static HelpersBuilder all(); }
HelpersBuilder { public static HelpersBuilder builtin() { return empty().addBuiltin(); } private  HelpersBuilder(); HelpersBuilder add(String name, Helper helper); HelpersBuilder addEach(); HelpersBuilder addIf(); HelpersBuilder addIf(String elseStartDelimiter, String elseEndDelimiter); HelpersBuilder addUnless(); HelpersBuilder addWith(); HelpersBuilder addIs(); HelpersBuilder addIsEven(); HelpersBuilder addIsOdd(); HelpersBuilder addSet(); HelpersBuilder addInclude(); HelpersBuilder addEmbed(); HelpersBuilder addEmbed(SourceProcessor processor); HelpersBuilder addIsEqual(); HelpersBuilder addIsNotEqual(); HelpersBuilder addIsNull(); HelpersBuilder addIsNotNull(); HelpersBuilder addChoose(); HelpersBuilder addSwitch(); HelpersBuilder addSwitch(boolean caseDefaultIsBreak); HelpersBuilder addJoin(); HelpersBuilder addEval(); HelpersBuilder addEval(Notation notation); HelpersBuilder addNumExpr(); HelpersBuilder addNumExpr(Operator defaultOperator); HelpersBuilder addAsync(); HelpersBuilder addInvoke(); HelpersBuilder addAlt(); HelpersBuilder addAlt(Selector selector); HelpersBuilder addMin(); HelpersBuilder addMax(); HelpersBuilder addCache(); HelpersBuilder addRepeat(); HelpersBuilder addFmt(); HelpersBuilder addTag(); HelpersBuilder addBuiltin(); HelpersBuilder addExtra(); Map<String, Helper> build(); static HelpersBuilder empty(); static HelpersBuilder builtin(); static HelpersBuilder extra(); static HelpersBuilder all(); static final String EACH; static final String IF; static final String UNLESS; static final String WITH; static final String IS; static final String IS_EVEN; static final String IS_ODD; static final String SET; static final String INCLUDE; static final String EMBED; static final String IS_EQUAL; static final String IS_NOT_EQUAL; static final String IS_NULL; static final String IS_NOT_NULL; static final String CHOOSE; static final String WHEN; static final String OTHERWISE; static final String SWITCH; static final String CASE; static final String DEFAULT; static final String JOIN; static final String EVAL; static final String NUMERIC_EXPRESSION; static final String ASYNC; static final String INVOKE; static final String ALT; static final String MIN; static final String MAX; static final String CACHE; static final String REPEAT; static final String FMT; static final String TAG; }