Lines Matching refs:sym
31 * return the expression for name or sym coerced to type
35 exexpr(Expr_t* ex, const char* name, Exid_t* sym, int type)
39 if (!sym)
40 sym = name ? (Exid_t*)dtmatch(ex->symbols, name) : &ex->main;
41 if (sym && sym->lex == PROCEDURE && sym->value)
44 return excast(ex, sym->value->data.procedure.body, type, NiL, 0);
45 exfreenode(ex, sym->value);
46 sym->lex = NAME;
47 sym->value = 0;