This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add enum index in overload.h comments
[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 {
218eba0d
DM
16 fallback_amg, /* 0x00 fallback */
17 to_sv_amg, /* 0x01 ${} */
18 to_av_amg, /* 0x02 @{} */
19 to_hv_amg, /* 0x03 %{} */
20 to_gv_amg, /* 0x04 *{} */
21 to_cv_amg, /* 0x05 &{} */
22 inc_amg, /* 0x06 ++ */
23 dec_amg, /* 0x07 -- */
24 bool__amg, /* 0x08 bool */
25 numer_amg, /* 0x09 0+ */
26 string_amg, /* 0x0a "" */
27 not_amg, /* 0x0b ! */
28 copy_amg, /* 0x0c = */
29 abs_amg, /* 0x0d abs */
30 neg_amg, /* 0x0e neg */
31 iter_amg, /* 0x0f <> */
32 int_amg, /* 0x10 int */
33 lt_amg, /* 0x11 < */
34 le_amg, /* 0x12 <= */
35 gt_amg, /* 0x13 > */
36 ge_amg, /* 0x14 >= */
37 eq_amg, /* 0x15 == */
38 ne_amg, /* 0x16 != */
39 slt_amg, /* 0x17 lt */
40 sle_amg, /* 0x18 le */
41 sgt_amg, /* 0x19 gt */
42 sge_amg, /* 0x1a ge */
43 seq_amg, /* 0x1b eq */
44 sne_amg, /* 0x1c ne */
45 nomethod_amg, /* 0x1d nomethod */
46 add_amg, /* 0x1e + */
47 add_ass_amg, /* 0x1f += */
48 subtr_amg, /* 0x20 - */
49 subtr_ass_amg, /* 0x21 -= */
50 mult_amg, /* 0x22 * */
51 mult_ass_amg, /* 0x23 *= */
52 div_amg, /* 0x24 / */
53 div_ass_amg, /* 0x25 /= */
54 modulo_amg, /* 0x26 % */
55 modulo_ass_amg, /* 0x27 %= */
56 pow_amg, /* 0x28 ** */
57 pow_ass_amg, /* 0x29 **= */
58 lshift_amg, /* 0x2a << */
59 lshift_ass_amg, /* 0x2b <<= */
60 rshift_amg, /* 0x2c >> */
61 rshift_ass_amg, /* 0x2d >>= */
62 band_amg, /* 0x2e & */
63 band_ass_amg, /* 0x2f &= */
64 bor_amg, /* 0x30 | */
65 bor_ass_amg, /* 0x31 |= */
66 bxor_amg, /* 0x32 ^ */
67 bxor_ass_amg, /* 0x33 ^= */
68 ncmp_amg, /* 0x34 <=> */
69 scmp_amg, /* 0x35 cmp */
70 compl_amg, /* 0x36 ~ */
71 atan2_amg, /* 0x37 atan2 */
72 cos_amg, /* 0x38 cos */
73 sin_amg, /* 0x39 sin */
74 exp_amg, /* 0x3a exp */
75 log_amg, /* 0x3b log */
76 sqrt_amg, /* 0x3c sqrt */
77 repeat_amg, /* 0x3d x */
78 repeat_ass_amg, /* 0x3e x= */
79 concat_amg, /* 0x3f . */
80 concat_ass_amg, /* 0x40 .= */
81 smart_amg, /* 0x41 ~~ */
82 ftest_amg, /* 0x42 -X */
83 regexp_amg, /* 0x43 qr */
84 DESTROY_amg, /* 0x44 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