From 4747b0022a0b9d8b4a631428c4a157f056af823c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 9 Nov 2002 12:02:04 +0000 Subject: *** empty log message *** --- perl_checker.src/types.mli | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 perl_checker.src/types.mli (limited to 'perl_checker.src/types.mli') 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 + -- cgit v1.2.1