private PannetoneAST createAST(SourceCode sc) {
List<RuleChunk> rules = ruleExtractor.extract(sc);
PannetoneAST ast = new PannetoneAST();
for(RuleChunk ruleChunk : rules) {
ast.createNode(ruleChunk, sc.getTextChunk(ruleChunk.number()));
}
return ast;
}
private void extractAllChunksBasedOnRules(SourceCode sc) {