示例#1
0
        public override void Visit(DynamicArrayExpression expression)
        {
            foreach (var expr in expression.Expressions)
                expr.Visit(this);

            this.block.CompileByteCode(ByteCode.MakeCollection, (byte)expression.Expressions.Count());
        }
示例#2
0
 public abstract void Visit(DynamicArrayExpression expression);
示例#3
0
        public override void Visit(DynamicArrayExpression expression)
        {
            this.writer.Write("[");

            int nexpr = 0;

            foreach (IExpression expr in expression.Expressions)
            {
                if (nexpr != 0)
                    this.writer.Write(", ");
                expr.Visit(this);
                nexpr++;
            }

            this.writer.Write("]");
        }