//public override StringBuilder VisitLambda(LambdaExpression expression)
        //{
        //    append("lambda $this -> ");
        //    appendType(expression);

        //    incr();
        //    expression.Body.Accept(this);
        //    decr();

        //    return _result;
        //}

        public override StringBuilder VisitNewNodeListInit(NewNodeListInitExpression expression, SymbolTable scope)
        {
            append("new NodeSet");
            appendType(expression);

            incr();
            foreach (var element in expression.Contents)
            {
                element.Accept(this, scope);
            }
            decr();

            return(_result);
        }
 public override Invokee VisitNewNodeListInit(FP.NewNodeListInitExpression expression, SymbolTable scope)
 {
     return(InvokeeFactory.Return(FhirValueList.Empty));
 }
Example #3
0
        //public abstract T VisitLambda(LambdaExpression expression);

        public abstract T VisitNewNodeListInit(NewNodeListInitExpression expression, SymbolTable scope);
Example #4
0
 public override Invokee VisitNewNodeListInit(FP.NewNodeListInitExpression expression, SymbolTable scope)
 {
     return(InvokeeFactory.Return(ElementNode.EmptyList));
 }