Parse integer / float types

This commit is contained in:
Florian Diebold 2018-12-22 22:17:55 +01:00
parent 3ac605e687
commit 3899898d75
4 changed files with 58 additions and 4 deletions

View file

@ -2697,7 +2697,11 @@ impl<R: TreeRoot<RaTypes>> PathTypeNode<R> {
}
impl<'a> PathType<'a> {}
impl<'a> PathType<'a> {
pub fn path(self) -> Option<Path<'a>> {
super::child_opt(self)
}
}
// PlaceholderPat
#[derive(Debug, Clone, Copy,)]