Parse integer / float types
This commit is contained in:
parent
3ac605e687
commit
3899898d75
4 changed files with 58 additions and 4 deletions
|
|
@ -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,)]
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ Grammar(
|
|||
"ParenType": (),
|
||||
"TupleType": (),
|
||||
"NeverType": (),
|
||||
"PathType": (),
|
||||
"PathType": (options: ["Path"]),
|
||||
"PointerType": (),
|
||||
"ArrayType": (),
|
||||
"SliceType": (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue