Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 93 lines (90 sloc) 4.309 kb
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
1 /* -*- buffer-read-only: t -*-
2 *
3 * mg_raw.h
4 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
5 * This file is built by regen/mg_vtable.pl.
6 * Any changes made here will be lost!
7 */
8
82ff486 In PL_magic_data flag whether magic can be added to a readonly value.
Nicholas Clark authored
9 { '\0', "want_vtbl_sv | PERL_MAGIC_READONLY_ACCEPTABLE",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
10 "/* sv '\\0' Special scalar variable */" },
23cfd2f Sort magic and magic vtable names in files generated by mg_vtable.pl
Nicholas Clark authored
11 { '#', "want_vtbl_arylen | PERL_MAGIC_VALUE_MAGIC",
12 "/* arylen '#' Array length ($#ary) */" },
13 { '%', "magic_vtable_max | PERL_MAGIC_VALUE_MAGIC",
14 "/* rhash '%' extra data for restricted hashes */" },
15 { '.', "want_vtbl_pos | PERL_MAGIC_VALUE_MAGIC",
16 "/* pos '.' pos() lvalue */" },
17 { ':', "magic_vtable_max | PERL_MAGIC_VALUE_MAGIC",
18 "/* symtab ':' extra data for symbol tables */" },
19 { '<', "want_vtbl_backref | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
20 "/* backref '<' for weak ref data */" },
21 { '@', "magic_vtable_max | PERL_MAGIC_VALUE_MAGIC",
22 "/* arylen_p '@' to move arylen out of XPVAV */" },
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
23 { 'A', "want_vtbl_amagic",
24 "/* overload 'A' %OVERLOAD hash */" },
25 { 'a', "want_vtbl_amagicelem",
26 "/* overload_elem 'a' %OVERLOAD hash element */" },
82ff486 In PL_magic_data flag whether magic can be added to a readonly value.
Nicholas Clark authored
27 { 'B', "want_vtbl_regexp | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
28 "/* bm 'B' Boyer-Moore (fast string search) */" },
23cfd2f Sort magic and magic vtable names in files generated by mg_vtable.pl
Nicholas Clark authored
29 { 'c', "want_vtbl_ovrld",
30 "/* overload_table 'c' Holds overload table (AMT) on stash */" },
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
31 { 'D', "want_vtbl_regdata",
32 "/* regdata 'D' Regex match position data (@+ and @- vars) */" },
33 { 'd', "want_vtbl_regdatum",
34 "/* regdatum 'd' Regex match position data element */" },
35 { 'E', "want_vtbl_env",
36 "/* env 'E' %ENV hash */" },
37 { 'e', "want_vtbl_envelem",
38 "/* envelem 'e' %ENV hash element */" },
82ff486 In PL_magic_data flag whether magic can be added to a readonly value.
Nicholas Clark authored
39 { 'f', "want_vtbl_regdata | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
40 "/* fm 'f' Formline ('compiled' format) */" },
0177730 Split out study magic from pos magic.
Nicholas Clark authored
41 { 'G', "want_vtbl_regexp | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
42 "/* study 'G' study()ed string */" },
82ff486 In PL_magic_data flag whether magic can be added to a readonly value.
Nicholas Clark authored
43 { 'g', "want_vtbl_mglob | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
0177730 Split out study magic from pos magic.
Nicholas Clark authored
44 "/* regex_global 'g' m//g target */" },
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
45 { 'H', "want_vtbl_hints",
46 "/* hints 'H' %^H hash */" },
47 { 'h', "want_vtbl_hintselem",
48 "/* hintselem 'h' %^H hash element */" },
49 { 'I', "want_vtbl_isa",
50 "/* isa 'I' @ISA array */" },
51 { 'i', "want_vtbl_isaelem",
52 "/* isaelem 'i' @ISA array element */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
53 { 'k', "want_vtbl_nkeys | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
54 "/* nkeys 'k' scalar(keys()) lvalue */" },
f34d156 [perl #92906] perl -d has non-functional b command
Father Chrysostomos authored
55 { 'L', "magic_vtable_max",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
56 "/* dbfile 'L' Debugger %_<filename */" },
f34d156 [perl #92906] perl -d has non-functional b command
Father Chrysostomos authored
57 { 'l', "want_vtbl_dbline",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
58 "/* dbline 'l' Debugger %_<filename element */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
59 { 'o', "want_vtbl_collxfrm | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
60 "/* collxfrm 'o' Locale transformation */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
61 { 'P', "want_vtbl_pack | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
62 "/* tied 'P' Tied array or hash */" },
63 { 'p', "want_vtbl_packelem",
64 "/* tiedelem 'p' Tied array or hash element */" },
65 { 'q', "want_vtbl_packelem",
66 "/* tiedscalar 'q' Tied scalar or handle */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
67 { 'r', "want_vtbl_regexp | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
68 "/* qr 'r' precompiled qr// regex */" },
69 { 'S', "magic_vtable_max",
70 "/* sig 'S' %SIG hash */" },
71 { 's', "want_vtbl_sigelem",
72 "/* sigelem 's' %SIG hash element */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
73 { 't', "want_vtbl_taint | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
74 "/* taint 't' Taintedness */" },
75 { 'U', "want_vtbl_uvar",
76 "/* uvar 'U' Available for use by extensions */" },
1e6bda9 [perl #29070] Add vstring set-magic
Father Chrysostomos authored
77 { 'V', "want_vtbl_vstring | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
78 "/* vstring 'V' SV was vstring literal */" },
23cfd2f Sort magic and magic vtable names in files generated by mg_vtable.pl
Nicholas Clark authored
79 { 'v', "want_vtbl_vec | PERL_MAGIC_VALUE_MAGIC",
80 "/* vec 'v' vec() lvalue */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
81 { 'w', "want_vtbl_utf8 | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
82 "/* utf8 'w' Cached UTF-8 information */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
83 { 'x', "want_vtbl_substr | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
84 "/* substr 'x' substr() lvalue */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
85 { 'y', "want_vtbl_defelem | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
86 "/* defelem 'y' Shadow \"foreach\" iterator variable / smart parameter vivification */" },
e0a73de Store a flag for container/value magic in PL_magic_data.
Nicholas Clark authored
87 { ']', "magic_vtable_max | PERL_MAGIC_VALUE_MAGIC",
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
88 "/* checkcall ']' inlining/mutation of call to this CV */" },
23cfd2f Sort magic and magic vtable names in files generated by mg_vtable.pl
Nicholas Clark authored
89 { '~', "magic_vtable_max",
90 "/* ext '~' Available for use by extensions */" },
6f83ef0 Create a lookup table for magic vtables from magic type, PL_magic_data.
Nicholas Clark authored
91
92 /* ex: set ro: */
Something went wrong with that request. Please try again.