2 include __DIR__
."/_include.php";
6 static inline token_t
psi_calc_bool_not(token_t t1
, impl_val
*v1
, token_t t2
, impl_val
*v2
, impl_val
*res
)
11 switch (t1
) {<?php
/*nobr */ ?
>
12 <?php
foreach ($types as $t1 => $v1) : ?
>
13 <?php
if (t_is_special($t1)) :?
>
19 res
->u8
= !v1
-><?
=$v1?
>;
20 break;<?php
/*nobr */ ?
>
21 <?php
if (t_is_special($t1)) : ?
>
34 static inline token_t
psi_calc_bool_or(token_t t1
, impl_val
*v1
, token_t t2
, impl_val
*v2
, impl_val
*res
)
36 switch (t1
) {<?php
/*nobr */ ?
>
37 <?php
foreach ($types as $t1 => $v1) : ?
>
38 <?php
if (t_is_special($t1)) :?
>
46 break;<?php
/*nobr */ ?
>
47 <?php
if (t_is_special($t1)) : ?
>
58 switch (t2
) {<?php
/*nobr */ ?
>
59 <?php
foreach ($types as $t2 => $v2) : ?
>
60 <?php
if (t_is_special($t2)) :?
>
68 break;<?php
/*nobr */ ?
>
69 <?php
if (t_is_special($t2)) : ?
>
88 static inline token_t
psi_calc_bool_and(token_t t1
, impl_val
*v1
, token_t t2
, impl_val
*v2
, impl_val
*res
)
90 switch (t1
) {<?php
/*nobr */ ?
>
91 <?php
foreach ($types as $t1 => $v1) : ?
>
92 <?php
if (t_is_special($t1)) :?
>
100 break;<?php
/*nobr */ ?
>
101 <?php
if (t_is_special($t1)) : ?
>
112 switch (t2
) {<?php
/*nobr */ ?
>
113 <?php
foreach ($types as $t2 => $v2) : ?
>
114 <?php
if (t_is_special($t2)) :?
>
122 break;<?php
/*nobr */ ?
>
123 <?php
if (t_is_special($t2)) : ?
>