-int validate_let_func(struct psi_data *data, let_func *func, decl_var *let_var, struct impl *impl);
+ switch (type) {
+ case PSI_T_BOOLVAL: let_fn = psi_let_boolval; break;
+ case PSI_T_INTVAL: let_fn = psi_let_intval; break;
+ case PSI_T_FLOATVAL: let_fn = psi_let_floatval; break;
+ case PSI_T_STRVAL: let_fn = psi_let_strval; break;
+ case PSI_T_STRLEN: let_fn = psi_let_strlen; break;
+ case PSI_T_PATHVAL: let_fn = psi_let_pathval; break;
+ case PSI_T_OBJVAL: let_fn = psi_let_objval; break;
+ case PSI_T_ZVAL: let_fn = psi_let_zval; break;
+ case PSI_T_VOID: let_fn = psi_let_void; break;
+ case PSI_T_COUNT: let_fn = psi_let_count; break;
+ }
+ return let_fn;
+}