diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-28 12:34:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-28 12:34:42 +0000 |
commit | 213d18c0842317ae689d860d2882aac0543aeeea (patch) | |
tree | 156054215090c433bf9136a08b6626a2e2489940 /perl_checker.src/parser_helper.mli | |
parent | 5086a51d09b7d5333b8b39927dba18f04c249237 (diff) | |
download | perl_checker-213d18c0842317ae689d860d2882aac0543aeeea.tar perl_checker-213d18c0842317ae689d860d2882aac0543aeeea.tar.gz perl_checker-213d18c0842317ae689d860d2882aac0543aeeea.tar.bz2 perl_checker-213d18c0842317ae689d860d2882aac0543aeeea.tar.xz perl_checker-213d18c0842317ae689d860d2882aac0543aeeea.zip |
get_pos_from_expr() (previously named get_pos_from_tree()) is useful, even in parser_helper
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r-- | perl_checker.src/parser_helper.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli index effa227..0478477 100644 --- a/perl_checker.src/parser_helper.mli +++ b/perl_checker.src/parser_helper.mli @@ -43,6 +43,7 @@ val is_a_string : Types.fromparser -> bool val is_parenthesized : Types.fromparser -> bool val un_parenthesize : Types.fromparser -> Types.fromparser val un_parenthesize_full : Types.fromparser -> Types.fromparser +val un_parenthesize_full_l : Types.fromparser list -> Types.fromparser list val is_always_true : Types.fromparser -> bool val is_always_false : Types.fromparser -> bool val not_complex : Types.fromparser -> bool @@ -53,6 +54,7 @@ val variable2s : Types.context * string -> string val is_same_fromparser : Types.fromparser -> Types.fromparser -> bool val from_scalar : Types.fromparser Types.any_spaces_pos -> Types.fromparser val from_array : Types.fromparser Types.any_spaces_pos -> Types.fromparser +val get_pos_from_expr : Types.fromparser -> Types.pos val msg_with_rawpos : int * int -> string -> string val die_with_rawpos : int * int -> string -> 'a val warn : int * int -> string -> unit |