summaryrefslogtreecommitdiff
path: root/overload.h
blob: 87c22fdb418a962c088ac33e6b5d4469902dc7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* -*- buffer-read-only: t -*-
 *
 *    overload.h
 *
 *    Copyright (C) 1997, 1998, 2000, 2001, 2005, 2006, 2007, 2011
 *    by Larry Wall and others
 *
 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License, as specified in the README file.
 *
 *  !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
 *  This file is built by regen/overload.pl
 */

enum {
    fallback_amg,	/* fallback */
    to_sv_amg,		/* ${}      */
    to_av_amg,		/* @{}      */
    to_hv_amg,		/* %{}      */
    to_gv_amg,		/* *{}      */
    to_cv_amg,		/* &{}      */
    inc_amg,		/* ++       */
    dec_amg,		/* --       */
    bool__amg,		/* bool     */
    numer_amg,		/* 0+       */
    string_amg,		/* ""       */
    not_amg,		/* !        */
    copy_amg,		/* =        */
    abs_amg,		/* abs      */
    neg_amg,		/* neg      */
    iter_amg,		/* <>       */
    int_amg,		/* int      */
    lt_amg,		/* <        */
    le_amg,		/* <=       */
    gt_amg,		/* >        */
    ge_amg,		/* >=       */
    eq_amg,		/* ==       */
    ne_amg,		/* !=       */
    slt_amg,		/* lt       */
    sle_amg,		/* le       */
    sgt_amg,		/* gt       */
    sge_amg,		/* ge       */
    seq_amg,		/* eq       */
    sne_amg,		/* ne       */
    nomethod_amg,	/* nomethod */
    add_amg,		/* +        */
    add_ass_amg,	/* +=       */
    subtr_amg,		/* -        */
    subtr_ass_amg,	/* -=       */
    mult_amg,		/* *        */
    mult_ass_amg,	/* *=       */
    div_amg,		/* /        */
    div_ass_amg,	/* /=       */
    modulo_amg,		/* %        */
    modulo_ass_amg,	/* %=       */
    pow_amg,		/* **       */
    pow_ass_amg,	/* **=      */
    lshift_amg,		/* <<       */
    lshift_ass_amg,	/* <<=      */
    rshift_amg,		/* >>       */
    rshift_ass_amg,	/* >>=      */
    band_amg,		/* &        */
    band_ass_amg,	/* &=       */
    bor_amg,		/* |        */
    bor_ass_amg,	/* |=       */
    bxor_amg,		/* ^        */
    bxor_ass_amg,	/* ^=       */
    ncmp_amg,		/* <=>      */
    scmp_amg,		/* cmp      */
    compl_amg,		/* ~        */
    atan2_amg,		/* atan2    */
    cos_amg,		/* cos      */
    sin_amg,		/* sin      */
    exp_amg,		/* exp      */
    log_amg,		/* log      */
    sqrt_amg,		/* sqrt     */
    repeat_amg,		/* x        */
    repeat_ass_amg,	/* x=       */
    concat_amg,		/* .        */
    concat_ass_amg,	/* .=       */
    smart_amg,		/* ~~       */
    ftest_amg,		/* -X       */
    regexp_amg,		/* qr       */
    DESTROY_amg,	/* DESTROY  */
    max_amg_code
    /* Do not leave a trailing comma here.  C9X allows it, C89 doesn't. */
};

#define NofAMmeth max_amg_code