Module marker_api::common
source · Expand description
This module provides types, which are used by the semantic and syntactic representations in Marker.
Structs
- This ID uniquely identifies a body during linting.
- This ID uniquely identifies a crate during linting.
- This ID uniquely identifies an expression during linting.
- This ID uniquely identifies a field inside a struct during linting.
- This ID uniquely identifies a generic parameter during linting.
- This ID uniquely identifies an item during linting.
- This ID uniquely identifies a macro during linting.
- This ID uniquely identifies a statement during linting.
- This ID uniquely identifies a user defined type during linting.
- This ID uniquely identifies a variable during linting.
- This ID uniquely identifies an enum variant during linting.
Enums
- Setting for how to handle a lint.
- FIXME(xFrednet): These settings should be working now, but are still limited due to the limited
Span
implementation. Ideally, I would also like more options, like aLocal
variant that only lints in local marcos. For libraries it might also be cool to have aCrate
variant, that only lints in user code and code from macros from the specified crate.