Add to macro testing infra to emit token map ids

This commit is contained in:
Lukas Wirth 2021-11-22 15:59:41 +01:00
parent 77f08d0fc3
commit 64cb09ddea
5 changed files with 151 additions and 17 deletions

View file

@ -245,6 +245,10 @@ impl DeclarativeMacro {
None => (id, Origin::Def),
}
}
pub fn shift(&self) -> Shift {
self.shift
}
}
impl Rule {