diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-12 14:07:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-12 14:07:28 +0000 |
commit | d6cab570487003dcdb3bcfb207fe9f9afd9b478b (patch) | |
tree | a9fc734568eb4d674a0d4d4b873c8bdbb22e36e8 /perl_checker.src/types.mli | |
parent | be344c9ed676859feddde5c24ef78ac78ab5d570 (diff) | |
download | perl_checker-d6cab570487003dcdb3bcfb207fe9f9afd9b478b.tar perl_checker-d6cab570487003dcdb3bcfb207fe9f9afd9b478b.tar.gz perl_checker-d6cab570487003dcdb3bcfb207fe9f9afd9b478b.tar.bz2 perl_checker-d6cab570487003dcdb3bcfb207fe9f9afd9b478b.tar.xz perl_checker-d6cab570487003dcdb3bcfb207fe9f9afd9b478b.zip |
*** empty log message ***
Diffstat (limited to 'perl_checker.src/types.mli')
-rw-r--r-- | perl_checker.src/types.mli | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/perl_checker.src/types.mli b/perl_checker.src/types.mli index 570da0f..5567eb9 100644 --- a/perl_checker.src/types.mli +++ b/perl_checker.src/types.mli @@ -1,16 +1,44 @@ exception TooMuchRParen +type raw_pos = int * int + type pos = string * int * int -type ident_type = I_scalar | I_hash | I_array | I_func | I_raw | I_star +type spaces = + | Space_0 + | Space_1 + | Space_n + | Space_cr + | Space_none -type fromparser = - | Ident of ident_type * string option * string * pos +type context = I_scalar | I_hash | I_array | I_func | I_raw | I_star | I_arraylen - | Num of float * pos +type fromparser = + | Ident of string option * string * pos + | Num of string * pos | String of string * pos - | Nil - | Binary of string * fromparser * fromparser + | Ref of context * fromparser + | Deref of context * fromparser + | Deref_with of context * fromparser * fromparser + + | Diamond of fromparser option + | Binop of string * fromparser * fromparser | If_then_else of string * (fromparser * fromparser) list * fromparser option + | List of fromparser list + | Block of fromparser list + + | Call of fromparser * fromparser list + | Call_op of string * fromparser list + | Method_call of fromparser * fromparser * fromparser list + + | Anonymous_sub of fromparser + | My of fromparser + | Local of fromparser + | Use of fromparser * fromparser list + | Sub_declaration of fromparser * string * fromparser list (* name, prototype, body *) + | Package of fromparser + | Label of string + + | Too_complex |