|
libFirm
|
Data type for unique names. More...
Go to the source code of this file.
Functions | |
| ident * | new_id_from_str (const char *str) |
| Store a string and create an ident. | |
| ident * | new_id_from_chars (const char *str, size_t len) |
| Store a string and create an ident. | |
| const char * | get_id_str (ident *id) |
| Returns a string represented by an ident. | |
| size_t | get_id_strlen (ident *id) |
| Returns the length of the string represented by an ident. | |
| int | id_is_prefix (ident *prefix, ident *id) |
Test if prefix is a prefix of ident id. | |
| int | id_is_suffix (ident *suffix, ident *id) |
Test if suffix is a suffix of ident id. | |
| int | id_contains_char (ident *id, char c) |
| Test if identifier contains a given character. | |
| ident * | id_unique (const char *tag) |
| helper function for creating unique idents. | |
| ident * | id_mangle_u (ident *first, ident *scnd) |
| mangle underscore: Returns a new ident that represents first_scnd. | |
| ident * | id_mangle_dot (ident *first, ident *scnd) |
| mangle dot: Returns a new ident that represents first.scnd. | |
| ident * | id_mangle (ident *first, ident *scnd) |
| mangle: Returns a new ident that represents firstscnd. | |
| ident * | id_mangle3 (const char *prefix, ident *middle, const char *suffix) |
| Returns a new ident that represents 'prefixscndsuffix'. | |
Data type for unique names.
Definition in file ident.h.