Skip to content

eager_macro_rules!: Selective implementations #1

@Emoun

Description

@Emoun

Allow the user to choose whether each rule should be implemented both normally and eagerly, just normally, or just eagerly:

eager_macro_rules!{$eager_1
    macro_rules! some_macro {
        {   // The default behaviour should be both
            ...
        } => { ... };
       @not_eager {   // Does not support eager
            ...
        } => { ... };
        @only_eager{   // Only supports eager, does not support non-eager
            ...
        } => { ... };
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions