public final void pexpr() throws RecognitionException, TokenStreamException {
returnAST = null;
ASTPair currentAST = new ASTPair();
AST pexpr_AST = null;
try { // for error handling
switch ( LA(1)) {
case LP:
{
match(LP);
expr();
astFactory.addASTChild(currentAST, returnAST);
match(RP);
pexpr_AST = (AST)currentAST.root;
break;
}
case TRUE:
{
AST tmp13_AST = null;
tmp13_AST = astFactory.create(LT(1));
astFactory.addASTChild(currentAST, tmp13_AST);
match(TRUE);
pexpr_AST = (AST)currentAST.root;
break;
}
case FALSE:
{
AST tmp14_AST = null;
tmp14_AST = astFactory.create(LT(1));
astFactory.addASTChild(currentAST, tmp14_AST);
match(FALSE);
pexpr_AST = (AST)currentAST.root;
break;