Example #1
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;
        }
Example #2
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;
        }