lib/Perl6/const.h

filter: Statementstmt 100% 199 / 199 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 199 / 199 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/Seis/Exceptions.pm ↑ Summary
1 #define PConst(c) newCONSTSUB(stash, #c, newSViv(c))
2 28 static void setup_pvip_const() {
3 28 HV* stash = gv_stashpvn("Perl6::PVIP", strlen("Perl6::PVIP"), TRUE);
4 28 PConst(PVIP_NODE_UNDEF);
5 28 PConst(PVIP_NODE_RANGE);
6 28 PConst(PVIP_NODE_REDUCE);
7 28 PConst(PVIP_NODE_INT);
8 28 PConst(PVIP_NODE_NUMBER);
9 28 PConst(PVIP_NODE_STATEMENTS);
10 28 PConst(PVIP_NODE_DIV);
11 28 PConst(PVIP_NODE_MUL);
12 28 PConst(PVIP_NODE_ADD);
13 28 PConst(PVIP_NODE_SUB);
14 28 PConst(PVIP_NODE_IDENT);
15 28 PConst(PVIP_NODE_FUNCALL);
16 28 PConst(PVIP_NODE_ARGS);
17 28 PConst(PVIP_NODE_STRING);
18 28 PConst(PVIP_NODE_MOD);
19 28 PConst(PVIP_NODE_VARIABLE);
20 28 PConst(PVIP_NODE_MY);
21 28 PConst(PVIP_NODE_OUR);
22 28 PConst(PVIP_NODE_BIND);
23 28 PConst(PVIP_NODE_STRING_CONCAT);
24 28 PConst(PVIP_NODE_IF);
25 28 PConst(PVIP_NODE_EQV);
26 28 PConst(PVIP_NODE_EQ);
27 28 PConst(PVIP_NODE_NE);
28 28 PConst(PVIP_NODE_LT);
29 28 PConst(PVIP_NODE_LE);
30 28 PConst(PVIP_NODE_GT);
31 28 PConst(PVIP_NODE_GE);
32 28 PConst(PVIP_NODE_ARRAY);
33 28 PConst(PVIP_NODE_ATPOS);
34 28 PConst(PVIP_NODE_METHODCALL);
35 28 PConst(PVIP_NODE_FUNC);
36 28 PConst(PVIP_NODE_PARAMS);
37 28 PConst(PVIP_NODE_RETURN);
38 28 PConst(PVIP_NODE_ELSE);
39 28 PConst(PVIP_NODE_WHILE);
40 28 PConst(PVIP_NODE_DIE);
41 28 PConst(PVIP_NODE_ELSIF);
42 28 PConst(PVIP_NODE_LIST);
43 28 PConst(PVIP_NODE_FOR);
44 28 PConst(PVIP_NODE_UNLESS);
45 28 PConst(PVIP_NODE_NOT);
46 28 PConst(PVIP_NODE_CONDITIONAL);
47 28 PConst(PVIP_NODE_NOP);
48 28 PConst(PVIP_NODE_STREQ);
49 28 PConst(PVIP_NODE_STRNE);
50 28 PConst(PVIP_NODE_STRGT);
51 28 PConst(PVIP_NODE_STRGE);
52 28 PConst(PVIP_NODE_STRLT);
53 28 PConst(PVIP_NODE_STRLE);
54 28 PConst(PVIP_NODE_POW);
55 28 PConst(PVIP_NODE_CLARGS);
56 28 PConst(PVIP_NODE_HASH);
57 28 PConst(PVIP_NODE_PAIR);
58 28 PConst(PVIP_NODE_ATKEY);
59 28 PConst(PVIP_NODE_LOGICAL_AND);
60 28 PConst(PVIP_NODE_LOGICAL_OR);
61 28 PConst(PVIP_NODE_LOGICAL_XOR);
62 28 PConst(PVIP_NODE_BIN_AND);
63 28 PConst(PVIP_NODE_BIN_OR);
64 28 PConst(PVIP_NODE_BIN_XOR);
65 28 PConst(PVIP_NODE_BLOCK);
66 28 PConst(PVIP_NODE_LAMBDA);
67 28 PConst(PVIP_NODE_USE);
68 28 PConst(PVIP_NODE_MODULE);
69 28 PConst(PVIP_NODE_CLASS);
70 28 PConst(PVIP_NODE_METHOD);
71 28 PConst(PVIP_NODE_UNARY_PLUS);
72 28 PConst(PVIP_NODE_UNARY_MINUS);
73 28 PConst(PVIP_NODE_IT_METHODCALL);
74 28 PConst(PVIP_NODE_LAST);
75 28 PConst(PVIP_NODE_NEXT);
76 28 PConst(PVIP_NODE_REDO);
77 28 PConst(PVIP_NODE_POSTINC);
78 28 PConst(PVIP_NODE_POSTDEC);
79 28 PConst(PVIP_NODE_PREINC);
80 28 PConst(PVIP_NODE_PREDEC);
81 28 PConst(PVIP_NODE_UNARY_BITWISE_NEGATION);
82 28 PConst(PVIP_NODE_BRSHIFT);
83 28 PConst(PVIP_NODE_BLSHIFT);
84 28 PConst(PVIP_NODE_CHAIN);
85 28 PConst(PVIP_NODE_INPLACE_ADD);
86 28 PConst(PVIP_NODE_INPLACE_SUB);
87 28 PConst(PVIP_NODE_INPLACE_MUL);
88 28 PConst(PVIP_NODE_INPLACE_DIV);
89 28 PConst(PVIP_NODE_INPLACE_POW);
90 28 PConst(PVIP_NODE_INPLACE_MOD);
91 28 PConst(PVIP_NODE_INPLACE_BIN_OR);
92 28 PConst(PVIP_NODE_INPLACE_BIN_AND);
93 28 PConst(PVIP_NODE_INPLACE_BIN_XOR);
94 28 PConst(PVIP_NODE_INPLACE_BLSHIFT);
95 28 PConst(PVIP_NODE_INPLACE_BRSHIFT);
96 28 PConst(PVIP_NODE_INPLACE_CONCAT_S);
97 28 PConst(PVIP_NODE_REPEAT_S);
98 28 PConst(PVIP_NODE_INPLACE_REPEAT_S);
99 28 PConst(PVIP_NODE_STRINGIFY);
100 28 PConst(PVIP_NODE_TRY);
101 28 PConst(PVIP_NODE_REF);
102 28 PConst(PVIP_NODE_MULTI);
103 28 PConst(PVIP_NODE_UNARY_BOOLEAN);
104 28 PConst(PVIP_NODE_UNARY_UPTO);
105 28 PConst(PVIP_NODE_STDOUT);
106 28 PConst(PVIP_NODE_STDERR);
107 28 PConst(PVIP_NODE_SCALAR_DEREF);
108 28 PConst(PVIP_NODE_TW_INC);
109 28 PConst(PVIP_NODE_META_METHOD_CALL);
110 28 PConst(PVIP_NODE_REGEXP);
111 28 PConst(PVIP_NODE_SMART_MATCH);
112 28 PConst(PVIP_NODE_NOT_SMART_MATCH);
113 28 PConst(PVIP_NODE_PERL5_REGEXP);
114 28 PConst(PVIP_NODE_TRUE);
115 28 PConst(PVIP_NODE_FALSE);
116 28 PConst(PVIP_NODE_TW_VM);
117 28 PConst(PVIP_NODE_HAS);
118 28 PConst(PVIP_NODE_ATTRIBUTE_VARIABLE);
119 28 PConst(PVIP_NODE_FUNCREF);
120 28 PConst(PVIP_NODE_PATH);
121 28 PConst(PVIP_NODE_TW_PACKAGE);
122 28 PConst(PVIP_NODE_TW_CLASS);
123 28 PConst(PVIP_NODE_TW_MODULE);
124 28 PConst(PVIP_NODE_TW_OS);
125 28 PConst(PVIP_NODE_TW_PID);
126 28 PConst(PVIP_NODE_TW_PERLVER);
127 28 PConst(PVIP_NODE_TW_OSVER);
128 28 PConst(PVIP_NODE_TW_CWD);
129 28 PConst(PVIP_NODE_TW_EXECUTABLE_NAME);
130 28 PConst(PVIP_NODE_TW_ROUTINE);
131 28 PConst(PVIP_NODE_SLANGS);
132 28 PConst(PVIP_NODE_LOGICAL_ANDTHEN);
133 28 PConst(PVIP_NODE_VALUE_IDENTITY);
134 28 PConst(PVIP_NODE_CMP);
135 28 PConst(PVIP_NODE_SPECIAL_VARIABLE_REGEXP_MATCH);
136 28 PConst(PVIP_NODE_SPECIAL_VARIABLE_EXCEPTIONS);
137 28 PConst(PVIP_NODE_ENUM);
138 28 PConst(PVIP_NODE_NUM_CMP);
139 28 PConst(PVIP_NODE_UNARY_FLATTEN_OBJECT);
140 28 PConst(PVIP_NODE_COMPLEX);
141 28 PConst(PVIP_NODE_ROLE);
142 28 PConst(PVIP_NODE_IS);
143 28 PConst(PVIP_NODE_DOES);
144 28 PConst(PVIP_NODE_JUNCTIVE_AND);
145 28 PConst(PVIP_NODE_JUNCTIVE_SAND);
146 28 PConst(PVIP_NODE_JUNCTIVE_OR);
147 28 PConst(PVIP_NODE_UNICODE_CHAR);
148 28 PConst(PVIP_NODE_STUB);
149 28 PConst(PVIP_NODE_EXPORT);
150 28 PConst(PVIP_NODE_PARAM);
151 28 PConst(PVIP_NODE_BITWISE_OR);
152 28 PConst(PVIP_NODE_BITWISE_AND);
153 28 PConst(PVIP_NODE_BITWISE_XOR);
154 28 PConst(PVIP_NODE_VARGS);
155 28 PConst(PVIP_NODE_WHATEVER);
156 28 PConst(PVIP_NODE_TW_ENV);
157 28 PConst(PVIP_NODE_ARRAY_DEREF);
158 28 PConst(PVIP_NODE_RAND);
159 28 PConst(PVIP_NODE_END);
160 28 PConst(PVIP_NODE_BEGIN);
161 28 PConst(PVIP_NODE_IS_DIVISIBLE_BY);
162 28 PConst(PVIP_NODE_NOT_DIVISIBLE_BY);
163 28 PConst(PVIP_NODE_CONTAINER_IDENTITY);
164 28 PConst(PVIP_NODE_Z);
165 28 PConst(PVIP_NODE_SUBMETHOD);
166 28 PConst(PVIP_NODE_BINDAND_MAKE_READONLY);
167 28 PConst(PVIP_NODE_LIST_ASSIGNMENT);
168 28 PConst(PVIP_NODE_TW_A);
169 28 PConst(PVIP_NODE_TW_B);
170 28 PConst(PVIP_NODE_TW_C);
171 28 PConst(PVIP_NODE_SO);
172 28 PConst(PVIP_NODE_GCD);
173 28 PConst(PVIP_NODE_KEEP);
174 28 PConst(PVIP_NODE_UNDO);
175 28 PConst(PVIP_NODE_NOW);
176 28 PConst(PVIP_NODE_UNTIL);
177 28 PConst(PVIP_NODE_TIME);
178 28 PConst(PVIP_NODE_AUGMENT);
179 28 PConst(PVIP_NODE_IS_COPY);
180 28 PConst(PVIP_NODE_LEG);
181 28 PConst(PVIP_NODE_NEED);
182 28 PConst(PVIP_NODE_INTEGER_DIVISION);
183 28 PConst(PVIP_NODE_LCM);
184 28 PConst(PVIP_NODE_PACKAGE);
185 28 PConst(PVIP_NODE_MINMAX);
186 28 PConst(PVIP_NODE_SEQUENCE);
187 28 PConst(PVIP_NODE_CONTEXTUALIZER_SCALAR);
188 28 PConst(PVIP_NODE_CONTEXTUALIZER_ARRAY);
189 28 PConst(PVIP_NODE_CONTEXTUALIZER_HASH);
190 28 PConst(PVIP_NODE_TW_TMPDIR);
191 28 PConst(PVIP_NODE_IS_RW);
192 28 PConst(PVIP_NODE_IS_REF);
193 28 PConst(PVIP_NODE_PI);
194 28 PConst(PVIP_NODE_E);
195 28 PConst(PVIP_CATEGORY_UNKNOWN);
196 28 PConst(PVIP_CATEGORY_STRING);
197 28 PConst(PVIP_CATEGORY_INT);
198 28 PConst(PVIP_CATEGORY_NUMBER);
199 28 PConst(PVIP_CATEGORY_CHILDREN);
200 #undef PConst
201 28 }
« blib/lib/Seis/Exceptions.pm ↑ Summary