public override void ExitLogicalAndExpression(CParser.LogicalAndExpressionContext context) { if (context.logicalAndExpression() != null) { // logicalAndExpression '&&' inclusiveOrExpression SafeCall(context, CExpression.LogicalAndOperator); } }
protected ObjectDef EmitLogicalAndExpression(CParser.LogicalAndExpressionContext logicalAndExpression) { ObjectDef returnObjectDef = null; if (logicalAndExpression.inclusiveOrExpression() != null) { returnObjectDef = EmitInclusiveOrExpression(logicalAndExpression.inclusiveOrExpression()); } if (logicalAndExpression.inclusiveOrExpression() != null && logicalAndExpression.logicalAndExpression() != null) { returnObjectDef = null; // TODO: Emit logical 'AND' expression } return(returnObjectDef); }