Regexp boundedRegexp = gsb.getBoundedRegexp(g, "FunctionDeclaration", 27, true);
assertNotNull(boundedRegexp);
}
public void testTinySQL() throws Exception{
Grammar g = new Parser(GrammarTests.DIR + "tiny_SQL.txt").parse();
GrammarStringBounder gsb = new GrammarStringBounder();
Regexp boundedRegexp = gsb.getBoundedRegexp(g, "SelectStmt", 26, false);
//"SELECT" is one terminal and 6 characters
assertNotNull(boundedRegexp);
// System.out.println(boundedRegexp);