}
}
}
private void generateStatement(GrammarElement pipeElement, String method, int phase, boolean not, String name, String var1, GrammarData data, StatementList statementList) {
AddStatement addStatement = pipeElement.getStatement(phase, name, not, null, var1, null, null, data);
if (addStatement != null) {
addStatement.setMehtod(method);
if (statementList != null) {
statementList.add(new Statement(phase, false, name, addStatement));
}
} else {
String elementName = data.addNewVarname(name);
pipeElement.generate(phase, false, true, true, not, null, elementName, var1, null, null, data, statementList);
if (statementList != null) {
addStatement = new AddStatement(elementName, new RefStatement(elementName));
addStatement.setMehtod(method);
statementList.add(new Statement(phase, false, name, addStatement));
}
}
}