Parse integer / float types
This commit is contained in:
@@ -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": (),
|
||||
|
||||
Reference in New Issue
Block a user