diff options
author | Chimrod <> | 2023-10-03 15:10:26 +0200 |
---|---|---|
committer | Chimrod <> | 2023-10-15 19:04:36 +0200 |
commit | 49f69c1ab4d3d8716f30d7bd36a66a4241e16d33 (patch) | |
tree | 13ef2d7577b725329eb89828f81a3f27174cef17 /lib/syntax/default.ml | |
parent | 8ec89159f83b2c65995555f2c1a65e8ded950242 (diff) |
New analyzer for the dead end
Diffstat (limited to 'lib/syntax/default.ml')
-rw-r--r-- | lib/syntax/default.ml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/syntax/default.ml b/lib/syntax/default.ml index f4bc34e..9c5073c 100644 --- a/lib/syntax/default.ml +++ b/lib/syntax/default.ml @@ -1,3 +1,8 @@ +(** Default implementation which does nothing. + +This module is expected to be used when you only need to implement an analyze +over a limited part of the whole syntax. *) + type pos = Lexing.position * Lexing.position type ('a, 'b) variable = { pos : 'a; name : string; index : 'b option } @@ -5,7 +10,7 @@ module Expression = struct type 'a obs type repr = unit - type variable = { pos : pos; name : string; index : repr option } + type variable (** Describe a variable, using the name in capitalized text, and an optionnal index. |