コード例 #1
0
        public static BoundBlockStatement Lower(FunctionSymbol function, BoundStatement statement)
        {
            var lowerer = new Lowerer();
            var result  = lowerer.RewriteStatement(statement);

            return(Flatten(function, result));
        }
コード例 #2
0
        public static BoundBlockStatement Simplify(BoundStatement statement)
        {
            var lowerer = new Lowerer();

            return((BoundBlockStatement)lowerer.RewriteStatement(statement));
        }