public override void Visit(DoWhileAST doWhileStatement) { var exprType = _exprTypeVisitor.GetAstNodeType(_currentFileName, _currentScopeId, _currentNodePosition, doWhileStatement.ConditionExpr); if (exprType.ToString() != Enum.GetName(typeof(Keyword), Keyword.BOOL).ToLower()) { throw new Exception(string.Format("Type mismatch : Condition must be of type 'bool', but it's a '{0}' ...", exprType.ToString())); } }
public override void Visit(DoWhileAST doWhileStatement) { }
public virtual void Visit(DoWhileAST doWhileStatement) { }