Rename TypeArgList -> GenericArgList

This commit is contained in:
Aleksey Kladov 2020-07-31 18:29:29 +02:00
parent 54fd09a9ca
commit 91781c7ce8
41 changed files with 70 additions and 70 deletions

View file

@ -3,11 +3,11 @@ Path =
PathSegment =
'::' | 'crate' | 'self' | 'super'
| (NameRef ('::'? TypeArgList)?)
| (NameRef ('::'? GenericArgList)?)
| NameRef ParamList RetType?
| '<' PathType ('as' PathType)? '>'
TypeArgList =
GenericArgList =
'::'? '<'
TypeArg*
LifetimeArg*
@ -348,7 +348,7 @@ ArgList =
'(' args:(Expr (',' Expr)* ','?)? ')'
MethodCallExpr =
Attr* Expr '.' NameRef TypeArgList? ArgList
Attr* Expr '.' NameRef GenericArgList? ArgList
FieldExpr =
Attr* Expr '.' NameRef