diff options
Diffstat (limited to 'perl_checker.src/types.mli')
-rw-r--r-- | perl_checker.src/types.mli | 16 |
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 + |