[−][src]Crate rustc_ap_syntax
Re-exports
pub use errors; |
Modules
| ast | |
| attr | Functions dealing with attributes and meta items. |
| config | |
| diagnostics | |
| early_buffered_lints | Allows the buffering of lints for later. |
| edition | |
| entry | |
| error_codes | |
| ext | |
| feature_gate | Feature gating |
| json | A JSON emitter for errors. |
| mut_visit | A |
| parse | The main parser interface. |
| ptr | The AST pointer. |
| show_span | Span debugger |
| source_map | The |
| symbol | An "interner" is a data structure that associates values with usize tags and allows bidirectional lookup; i.e., given a value, one can easily find the type, and vice versa. |
| tokenstream | Token Streams |
| util | |
| visit | AST walker. Each overridden visit method has full control over what
happens with its node, it can do its own traversal of the node's children,
call |
Macros
| diagnostic_used | |
| help | |
| maybe_recover_from_interpolated_ty_qpath | If the next tokens are ill-formed |
| maybe_whole | Like |
| panictry | |
| register_diagnostics | |
| span_err | |
| span_err_or_warn | |
| span_fatal | |
| span_help | |
| span_note | |
| span_warn | |
| stringify_error_code | |
| struct_err | |
| struct_span_err | |
| struct_span_err_or_warn | |
| struct_span_fatal | |
| struct_span_warn | |
| type_error_struct | |
| unwrap_or | |
| walk_list |
Structs
| Globals | |
| ThinVec | A vector type optimized for cases where this size is usually 0 (cf. |
Statics
| GLOBALS |
Functions
| with_default_globals | |
| with_globals |