Skip to main content

impl_builtin_language_plugin

Macro impl_builtin_language_plugin 

Source
macro_rules! impl_builtin_language_plugin {
    (
        $plugin:ty,
        $extensions:expr,
        lower_ext($lower:path, $suffix:literal, $label:literal),
        $($rest:tt)*
    ) => { ... };
    (
        $plugin:ty,
        $extensions:expr,
        $lower:path,
        $($rest:tt)*
    ) => { ... };
    (
        @build
        $plugin:ty,
        $extensions:expr,
        { $($lower_spec:tt)* },
        $ranges:expr,
        flagged_lines($flagged:expr),
        imports($($imports:tt)*),
        frameworks($($frameworks:tt)*),
        hazards($($hazards:tt)*) $(,)?
    ) => { ... };
    (@lower lower_ext($lower:path, $suffix:literal, $label:literal)) => { ... };
    (@lower direct($lower:path)) => { ... };
    (@imports none) => { ... };
    (@imports $manifest_paths:path, $analyze_manifests:path, $resolve_imports:expr, $entry_points:path $(,)?) => { ... };
    (@frameworks none) => { ... };
    (@frameworks $module:ident) => { ... };
    (@hazards none) => { ... };
    (@hazards $rules:expr) => { ... };
}