Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 1.05 KB
Copyright © 2011 MLstate
This file is part of OPA.
OPA is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License, version 3, as published by
the Free Software Foundation.
OPA is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
more details.
You should have received a copy of the GNU Affero General Public License
along with OPA. If not, see <>.
(** Reordering of sliced code *)
(** Reorder client code, and server code. For server code, the value
wich starts the server is placed at the end of code (or uniquely
before its dependencies). Returns (client_code, server_code)
reordened. *)
val perform : client:QmlAst.code -> server:QmlAst.code -> (QmlAst.code * QmlAst.code)
val reorder_in_new_qml : ?val_:(string -> Ident.t) -> QmlAst.code -> QmlAst.code