MapToConcreteExpressionTypes() 공개 메소드

public MapToConcreteExpressionTypes ( Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
items Boo.Lang.Compiler.Ast.ExpressionCollection
리턴 void
예제 #1
0
        public ArrayLiteralExpression CreateArray(IType arrayType, ExpressionCollection items)
        {
            if (!arrayType.IsArray)
            {
                throw new ArgumentException(string.Format("'{0}'  is not an array type!", arrayType), "arrayType");
            }
            ArrayLiteralExpression array = new ArrayLiteralExpression();

            array.ExpressionType = arrayType;
            array.Items.Extend(items);
            _tss.MapToConcreteExpressionTypes(array.Items);
            return(array);
        }