Module syntax::parse::token[src]
Modules
| keywords | All the valid words that have meaning in the Rust language. |
| special_idents |
Structs
| InternedString | Represents a string stored in the task-local interner. Because the interner lives for the life of the task, this can be safely treated as an immortal string, as long as it never crosses between tasks. |
Enums
| BinOp | |
| Nonterminal | For interpolation during macro expansion. |
| Token |
Functions
| binop_to_str | |
| can_begin_expr | |
| close_delimiter_for | Returns the matching close delimiter if this is an open delimiter,
otherwise |
| fresh_mark | |
| fresh_name | |
| gensym | gensym's a new uint, using the current interner. |
| gensym_ident | Maps a string to a gensym'ed identifier. |
| get_ident | Returns the string contents of an identifier, using the task-local interner. |
| get_ident_interner | |
| get_name | Returns the string contents of a name, using the task-local interner. |
| intern | Maps a string to its interned representation. |
| intern_and_get_ident | Interns and returns the string contents of an identifier, using the task-local interner. |
| is_any_keyword | |
| is_bar | |
| is_ident | |
| is_ident_or_path | |
| is_keyword | |
| is_lit | |
| is_plain_ident | |
| is_reserved_keyword | |
| is_strict_keyword | |
| mtwt_token_eq | |
| str_to_ident | Maps a string to an identifier with an empty syntax context. |
| to_str | |
| token_to_binop | Maps a token to a record specifying the corresponding binary operator |
Type Definitions
| IdentInterner |