This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/overload.pl: add comments to overload.[ch]
[perl5.git] / overload.h
CommitLineData
bab3dc31
NC
1/* -*- buffer-read-only: t -*-
2 *
3 * overload.h
4 *
c4ac9b44
DM
5 * Copyright (C) 1997, 1998, 2000, 2001, 2005, 2006, 2007, 2011
6 * by Larry Wall and others
bab3dc31
NC
7 *
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
10 *
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
1de57daf 12 * This file is built by regen/overload.pl
bab3dc31
NC
13 */
14
15enum {
c4ac9b44
DM
16 fallback_amg, /* fallback */
17 to_sv_amg, /* ${} */
18 to_av_amg, /* @{} */
19 to_hv_amg, /* %{} */
20 to_gv_amg, /* *{} */
21 to_cv_amg, /* &{} */
22 inc_amg, /* ++ */
23 dec_amg, /* -- */
24 bool__amg, /* bool */
25 numer_amg, /* 0+ */
26 string_amg, /* "" */
27 not_amg, /* ! */
28 copy_amg, /* = */
29 abs_amg, /* abs */
30 neg_amg, /* neg */
31 iter_amg, /* <> */
32 int_amg, /* int */
33 lt_amg, /* < */
34 le_amg, /* <= */
35 gt_amg, /* > */
36 ge_amg, /* >= */
37 eq_amg, /* == */
38 ne_amg, /* != */
39 slt_amg, /* lt */
40 sle_amg, /* le */
41 sgt_amg, /* gt */
42 sge_amg, /* ge */
43 seq_amg, /* eq */
44 sne_amg, /* ne */
45 nomethod_amg, /* nomethod */
46 add_amg, /* + */
47 add_ass_amg, /* += */
48 subtr_amg, /* - */
49 subtr_ass_amg, /* -= */
50 mult_amg, /* * */
51 mult_ass_amg, /* *= */
52 div_amg, /* / */
53 div_ass_amg, /* /= */
54 modulo_amg, /* % */
55 modulo_ass_amg, /* %= */
56 pow_amg, /* ** */
57 pow_ass_amg, /* **= */
58 lshift_amg, /* << */
59 lshift_ass_amg, /* <<= */
60 rshift_amg, /* >> */
61 rshift_ass_amg, /* >>= */
62 band_amg, /* & */
63 band_ass_amg, /* &= */
64 bor_amg, /* | */
65 bor_ass_amg, /* |= */
66 bxor_amg, /* ^ */
67 bxor_ass_amg, /* ^= */
68 ncmp_amg, /* <=> */
69 scmp_amg, /* cmp */
70 compl_amg, /* ~ */
71 atan2_amg, /* atan2 */
72 cos_amg, /* cos */
73 sin_amg, /* sin */
74 exp_amg, /* exp */
75 log_amg, /* log */
76 sqrt_amg, /* sqrt */
77 repeat_amg, /* x */
78 repeat_ass_amg, /* x= */
79 concat_amg, /* . */
80 concat_ass_amg, /* .= */
81 smart_amg, /* ~~ */
82 ftest_amg, /* -X */
83 regexp_amg, /* qr */
84 DESTROY_amg, /* DESTROY */
bab3dc31
NC
85 max_amg_code
86 /* Do not leave a trailing comma here. C9X allows it, C89 doesn't. */
87};
88
bab3dc31 89#define NofAMmeth max_amg_code
bab3dc31 90