Transition transition = (Transition) transitions.next();
// generate code for guard expression
String guard = transition.getGuardExpression();
PtParser parser = new PtParser();
ASTPtRootNode guardParseTree = parser.generateParseTree(guard);
ParseTreeCodeGenerator parseTreeCodeGenerator = controllerHelper
.getParseTreeCodeGenerator();
parseTreeCodeGenerator.evaluateParseTree(guardParseTree,
controllerHelper._scope);
codeBuffer.append(parseTreeCodeGenerator.generateFireCode());