Пример #1
0
        public object Translate(TranslationContext context, ASTNode node)
        {
            // There is no Null expression in CREF, but returning an empty Coalesce is equivalent to null
            var result = new CREFModel.Coalesce();

            return(result);
        }
Пример #2
0
        public object Translate(TranslationContext context, ASTNode node)
        {
            var result = new CREFModel.Coalesce();

            foreach (var child in node.Children)
            {
                result.Items.Add(context.TranslateNode(child));
            }

            return(result);
        }
Пример #3
0
        public object Translate(TranslationContext context, ASTNode node)
        {
            var result = new CREFModel.Coalesce();

            foreach (var child in node.Children)
            {
                result.Items.Add(context.TranslateNode(child));
            }

            return result;
        }
Пример #4
0
        public object Translate(TranslationContext context, ASTNode node)
        {
            // There is no Null expression in CREF, but returning an empty Coalesce is equivalent to null
            var result = new CREFModel.Coalesce();

            return result;
        }