Lines Matching refs:sym
130 bool symbol_is_dummy (const symbol *sym);
133 * Make \c str the literal string alias of \c sym. Copy token number,
134 * symbol number, and type from \c sym to \c str.
136 void symbol_make_alias (symbol *sym, symbol *str, location loc);
138 /** Set the \c type_name associated with \c sym.
141 void symbol_type_set (symbol *sym, uniqstr type_name, location loc);
143 /** Set the \c destructor associated with \c sym. */
144 void symbol_destructor_set (symbol *sym, code_props const *destructor);
146 /** Get the computed \c \%destructor for \c sym, which was initialized with
148 code_props const *symbol_destructor_get (symbol const *sym);
150 /** Set the \c printer associated with \c sym. */
151 void symbol_printer_set (symbol *sym, code_props const *printer);
153 /** Get the computed \c \%printer for \c sym, which was initialized with
155 code_props const *symbol_printer_get (symbol const *sym);
157 /* Set the \c precedence associated with \c sym.
161 void symbol_precedence_set (symbol *sym, int prec, assoc a, location loc);
163 /** Set the \c class associated with \c sym. */
164 void symbol_class_set (symbol *sym, symbol_class class, location loc,
167 /** Set the \c user_token_number associated with \c sym. */
168 void symbol_user_token_number_set (symbol *sym, int user_number, location loc);