source: trunk/essentials/dev-lang/perl/opnames.h@ 3296

Last change on this file since 3296 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 9.1 KB
Line 
1/* -*- buffer-read-only: t -*-
2 *
3 * opnames.h
4 *
5 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6 * by Larry Wall and others
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 *
12 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
13 * This file is built by opcode.pl from its data. Any changes made here
14 * will be lost!
15 */
16
17typedef enum opcode {
18 OP_NULL, /* 0 */
19 OP_STUB, /* 1 */
20 OP_SCALAR, /* 2 */
21 OP_PUSHMARK, /* 3 */
22 OP_WANTARRAY, /* 4 */
23 OP_CONST, /* 5 */
24 OP_GVSV, /* 6 */
25 OP_GV, /* 7 */
26 OP_GELEM, /* 8 */
27 OP_PADSV, /* 9 */
28 OP_PADAV, /* 10 */
29 OP_PADHV, /* 11 */
30 OP_PADANY, /* 12 */
31 OP_PUSHRE, /* 13 */
32 OP_RV2GV, /* 14 */
33 OP_RV2SV, /* 15 */
34 OP_AV2ARYLEN, /* 16 */
35 OP_RV2CV, /* 17 */
36 OP_ANONCODE, /* 18 */
37 OP_PROTOTYPE, /* 19 */
38 OP_REFGEN, /* 20 */
39 OP_SREFGEN, /* 21 */
40 OP_REF, /* 22 */
41 OP_BLESS, /* 23 */
42 OP_BACKTICK, /* 24 */
43 OP_GLOB, /* 25 */
44 OP_READLINE, /* 26 */
45 OP_RCATLINE, /* 27 */
46 OP_REGCMAYBE, /* 28 */
47 OP_REGCRESET, /* 29 */
48 OP_REGCOMP, /* 30 */
49 OP_MATCH, /* 31 */
50 OP_QR, /* 32 */
51 OP_SUBST, /* 33 */
52 OP_SUBSTCONT, /* 34 */
53 OP_TRANS, /* 35 */
54 OP_SASSIGN, /* 36 */
55 OP_AASSIGN, /* 37 */
56 OP_CHOP, /* 38 */
57 OP_SCHOP, /* 39 */
58 OP_CHOMP, /* 40 */
59 OP_SCHOMP, /* 41 */
60 OP_DEFINED, /* 42 */
61 OP_UNDEF, /* 43 */
62 OP_STUDY, /* 44 */
63 OP_POS, /* 45 */
64 OP_PREINC, /* 46 */
65 OP_I_PREINC, /* 47 */
66 OP_PREDEC, /* 48 */
67 OP_I_PREDEC, /* 49 */
68 OP_POSTINC, /* 50 */
69 OP_I_POSTINC, /* 51 */
70 OP_POSTDEC, /* 52 */
71 OP_I_POSTDEC, /* 53 */
72 OP_POW, /* 54 */
73 OP_MULTIPLY, /* 55 */
74 OP_I_MULTIPLY, /* 56 */
75 OP_DIVIDE, /* 57 */
76 OP_I_DIVIDE, /* 58 */
77 OP_MODULO, /* 59 */
78 OP_I_MODULO, /* 60 */
79 OP_REPEAT, /* 61 */
80 OP_ADD, /* 62 */
81 OP_I_ADD, /* 63 */
82 OP_SUBTRACT, /* 64 */
83 OP_I_SUBTRACT, /* 65 */
84 OP_CONCAT, /* 66 */
85 OP_STRINGIFY, /* 67 */
86 OP_LEFT_SHIFT, /* 68 */
87 OP_RIGHT_SHIFT, /* 69 */
88 OP_LT, /* 70 */
89 OP_I_LT, /* 71 */
90 OP_GT, /* 72 */
91 OP_I_GT, /* 73 */
92 OP_LE, /* 74 */
93 OP_I_LE, /* 75 */
94 OP_GE, /* 76 */
95 OP_I_GE, /* 77 */
96 OP_EQ, /* 78 */
97 OP_I_EQ, /* 79 */
98 OP_NE, /* 80 */
99 OP_I_NE, /* 81 */
100 OP_NCMP, /* 82 */
101 OP_I_NCMP, /* 83 */
102 OP_SLT, /* 84 */
103 OP_SGT, /* 85 */
104 OP_SLE, /* 86 */
105 OP_SGE, /* 87 */
106 OP_SEQ, /* 88 */
107 OP_SNE, /* 89 */
108 OP_SCMP, /* 90 */
109 OP_BIT_AND, /* 91 */
110 OP_BIT_XOR, /* 92 */
111 OP_BIT_OR, /* 93 */
112 OP_NEGATE, /* 94 */
113 OP_I_NEGATE, /* 95 */
114 OP_NOT, /* 96 */
115 OP_COMPLEMENT, /* 97 */
116 OP_ATAN2, /* 98 */
117 OP_SIN, /* 99 */
118 OP_COS, /* 100 */
119 OP_RAND, /* 101 */
120 OP_SRAND, /* 102 */
121 OP_EXP, /* 103 */
122 OP_LOG, /* 104 */
123 OP_SQRT, /* 105 */
124 OP_INT, /* 106 */
125 OP_HEX, /* 107 */
126 OP_OCT, /* 108 */
127 OP_ABS, /* 109 */
128 OP_LENGTH, /* 110 */
129 OP_SUBSTR, /* 111 */
130 OP_VEC, /* 112 */
131 OP_INDEX, /* 113 */
132 OP_RINDEX, /* 114 */
133 OP_SPRINTF, /* 115 */
134 OP_FORMLINE, /* 116 */
135 OP_ORD, /* 117 */
136 OP_CHR, /* 118 */
137 OP_CRYPT, /* 119 */
138 OP_UCFIRST, /* 120 */
139 OP_LCFIRST, /* 121 */
140 OP_UC, /* 122 */
141 OP_LC, /* 123 */
142 OP_QUOTEMETA, /* 124 */
143 OP_RV2AV, /* 125 */
144 OP_AELEMFAST, /* 126 */
145 OP_AELEM, /* 127 */
146 OP_ASLICE, /* 128 */
147 OP_EACH, /* 129 */
148 OP_VALUES, /* 130 */
149 OP_KEYS, /* 131 */