Searched refs:addRules (Results 1 – 3 of 3) sorted by relevance
141 .addRules(generationRules) in getBnf()203 .addRules("$tag = ([A-Z a-z 0-9]{1,8} 50% 20% 10% 5% 5% 5% 5%);") in main()204 .addRules("$s = [-_] ;") in main()205 .addRules("$root = $tag ($s $tag){0,7} 10% 10% 10% 10% 10% 10% 10% 10% ; ") in main()
78 .addRules(rules) in testBNF()222 .addRules("[a-z]{2,5}").complete(); in printRandoms()
67 public BNF addRules(String rules) { in addRules() method in BNF