예제 #1
0
        public static JsExpression AddNullChecks(JsExpression expression)
        {
            var visitor = new JavascriptNullCheckAdder(expression.Parent);

            expression.AcceptVisitor(visitor);
            return((JsExpression)visitor.NewExpression ?? expression);
        }