/// <summary> /// Visit condition (if ConditionalStmt does not represent else). /// Visit statements in ConditionalStmt. /// </summary> /// <param name="x"></param> virtual public void VisitConditionalStmt(ConditionalStmt x) { if (x.Condition != null) { VisitElement(x.Condition); } VisitElement(x.Statement); }
/// <summary> /// Visit condition (if ConditionalStmt does not represent else). /// Visit statements in ConditionalStmt. /// </summary> /// <param name="x"></param> virtual public void VisitConditionalStmt(ConditionalStmt x) { if (x.Condition != null) VisitElement(x.Condition); VisitElement(x.Statement); }