summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/types.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-09 12:02:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-09 12:02:04 +0000
commit4747b0022a0b9d8b4a631428c4a157f056af823c (patch)
tree3b86aa94b962fcc4872a7813d7eb1042e38dca47 /perl_checker.src/types.mli
parenta94569f90f13d5636542ff0da7ce3bbd141c0928 (diff)
downloadperl_checker-4747b0022a0b9d8b4a631428c4a157f056af823c.tar
perl_checker-4747b0022a0b9d8b4a631428c4a157f056af823c.tar.gz
perl_checker-4747b0022a0b9d8b4a631428c4a157f056af823c.tar.bz2
perl_checker-4747b0022a0b9d8b4a631428c4a157f056af823c.tar.xz
perl_checker-4747b0022a0b9d8b4a631428c4a157f056af823c.zip
*** empty log message ***
Diffstat (limited to 'perl_checker.src/types.mli')
-rw-r--r--perl_checker.src/types.mli16
1 files changed, 16 insertions, 0 deletions
diff --git a/perl_checker.src/types.mli b/perl_checker.src/types.mli
new file mode 100644
index 0000000..570da0f
--- /dev/null
+++ b/perl_checker.src/types.mli
@@ -0,0 +1,16 @@
+exception TooMuchRParen
+
+type pos = string * int * int
+
+type ident_type = I_scalar | I_hash | I_array | I_func | I_raw | I_star
+
+type fromparser =
+ | Ident of ident_type * string option * string * pos
+
+ | Num of float * pos
+ | String of string * pos
+ | Nil
+
+ | Binary of string * fromparser * fromparser
+ | If_then_else of string * (fromparser * fromparser) list * fromparser option
+