internal override void Accept(AstVisitorBase visitor) { visitor.BeforeVisit(this); if (visitor.ShouldVisitChildren) { _condition.Accept(visitor); visitor.AfterIfStatementCondition(this); _trueStatementBlock.Accept(visitor); visitor.AfterIfStatementTrueBlock(this); if (_falseStatementBlock != null) { _falseStatementBlock.Accept(visitor); visitor.AfterIfStatementFalseBlock(this); } } visitor.AfterVisit(this); }