aboutsummaryrefslogtreecommitdiff
path: root/src/expression.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/expression.mli')
-rwxr-xr-xsrc/expression.mli10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/expression.mli b/src/expression.mli
index 8cab479..5867d48 100755
--- a/src/expression.mli
+++ b/src/expression.mli
@@ -1,10 +1,10 @@
type t =
- | Basic: 'a ScTypes.types -> t (** A direct type *)
- | Formula: formula -> t (** A formula *)
- | Undefined: t (** The content is not defined *)
+ | Basic: 'a ScTypes.Type.t -> t (** A direct type *)
+ | Formula: formula -> t (** A formula *)
+ | Undefined: t (** The content is not defined *)
and formula =
- | Expression of ScTypes.expression (** A valid expression *)
+ | Expression of ScTypes.Expr.t (** A valid Expr.t *)
| Error of int * UTF8.t (** When the expression cannot be parsed *)
@@ -16,7 +16,7 @@ val load_expr: t -> t
val is_defined: t -> bool
(** Evaluate the expression *)
-val eval: t -> (ScTypes.refs -> ScTypes.result option ScTypes.Refs.range) -> ScTypes.result
+val eval: t -> Functions.C.t -> ((int * int) -> ScTypes.Result.t option) -> ScTypes.Result.t
(** Collect all the cell referenced in the expression *)
val collect_sources: t -> Cell.Set.t