summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-05-23 13:45:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-05-23 13:45:12 +0000
commitfd7077b4fa1903b53aa21bbb6774e8a90cd5a29d (patch)
tree9831573511290fca4da4c56a96e5a2af9744355c /perl_checker.src/parser_helper.mli
parent697d81fb486988bacb73e13c13bbdb65be775b2c (diff)
downloadperl-MDK-Common-fd7077b4fa1903b53aa21bbb6774e8a90cd5a29d.tar
perl-MDK-Common-fd7077b4fa1903b53aa21bbb6774e8a90cd5a29d.tar.gz
perl-MDK-Common-fd7077b4fa1903b53aa21bbb6774e8a90cd5a29d.tar.bz2
perl-MDK-Common-fd7077b4fa1903b53aa21bbb6774e8a90cd5a29d.tar.xz
perl-MDK-Common-fd7077b4fa1903b53aa21bbb6774e8a90cd5a29d.zip
- suggest any instead of grep in scalar context
- suggest foreach instead of map in empty context
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r--perl_checker.src/parser_helper.mli15
1 files changed, 12 insertions, 3 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli
index 69f559d..f43c6b1 100644
--- a/perl_checker.src/parser_helper.mli
+++ b/perl_checker.src/parser_helper.mli
@@ -246,15 +246,24 @@ val mcontext_check_raw :
Types.maybe_context ->
'a Types.any_spaces_pos ->
(unit -> 'b) -> (unit -> 'b) -> (unit -> 'b) -> 'b
-val mcontext_check : Types.maybe_context -> 'a Types.any_spaces_pos -> unit
+val mcontext_check :
+ Types.maybe_context ->
+ Types.fromparser Types.prio_anyexpr Types.any_spaces_pos -> unit
val mcontext_symops :
Types.maybe_context ->
'a Types.any_spaces_pos -> 'b Types.any_spaces_pos -> Types.maybe_context
val mcontext_rightops :
Types.maybe_context ->
- 'a Types.any_spaces_pos -> 'b Types.any_spaces_pos -> Types.maybe_context
+ Types.fromparser Types.prio_anyexpr Types.any_spaces_pos ->
+ 'a Types.any_spaces_pos -> Types.maybe_context
val mcontext_unop :
- Types.maybe_context -> 'a Types.any_spaces_pos -> Types.maybe_context
+ Types.maybe_context ->
+ Types.fromparser Types.prio_anyexpr Types.any_spaces_pos ->
+ Types.maybe_context
+val mcontext_unop_l :
+ Types.maybe_context ->
+ Types.fromparser list Types.prio_anyexpr Types.any_spaces_pos ->
+ Types.maybe_context
val mcontext_check_non_none : 'a Types.any_spaces_pos -> unit
val mcontext_check_none : Types.fromparser list Types.any_spaces_pos -> unit
val mcontext_op_assign :