@@ -120,11 +120,11 @@ ClassQualifier ::= ‘[’ id ‘]’
120
120
Type ::= [FunArgMods] FunArgTypes ‘=>’ Type Function(ts, t)
121
121
| HkTypeParamClause ‘=>’ Type TypeLambda(ps, t)
122
122
| InfixType
123
- FunArgMods ::= { ` implicit` | ` erased` }
123
+ FunArgMods ::= { ‘ implicit’ | ‘ erased’ }
124
124
FunArgTypes ::= InfixType
125
125
| ‘(’ [ FunArgType {‘,’ FunArgType } ] ‘)’
126
- | '(' TypedFunParam {',' TypedFunParam } ')'
127
- TypedFunParam ::= id ':' Type
126
+ | ‘(’ TypedFunParam {‘,’ TypedFunParam } ‘)’
127
+ TypedFunParam ::= id ‘:’ Type
128
128
InfixType ::= RefinedType {id [nl] RefinedType} InfixOp(t1, op, t2)
129
129
RefinedType ::= WithType {[nl] Refinement} RefinedTypeTree(t, ds)
130
130
WithType ::= AnnotType {‘with’ AnnotType} (deprecated)
@@ -328,12 +328,12 @@ DefDef ::= DefSig [‘:’ Type] ‘=’ Expr
328
328
329
329
TmplDef ::= ([‘case’] ‘class’ | trait’) ClassDef
330
330
| [‘case’] ‘object’ ObjectDef
331
- | ` enum' EnumDef
331
+ | ‘ enum’ EnumDef
332
332
ClassDef ::= id ClassConstr TemplateOpt ClassDef(mods, name, tparams, templ)
333
333
ClassConstr ::= [ClsTypeParamClause] [ConstrMods] ClsParamClauses with DefDef(_, <init>, Nil, vparamss, EmptyTree, EmptyTree) as first stat
334
334
ConstrMods ::= {Annotation} [AccessModifier]
335
335
ObjectDef ::= id TemplateOpt ModuleDef(mods, name, template) // no constructor
336
- EnumDef ::= id ClassConstr [` extends' [ConstrApps]] EnumBody EnumDef(mods, name, tparams, template)
336
+ EnumDef ::= id ClassConstr [‘ extends’ [ConstrApps]] EnumBody EnumDef(mods, name, tparams, template)
337
337
TemplateOpt ::= [‘extends’ Template | [nl] TemplateBody]
338
338
Template ::= ConstrApps [TemplateBody] | TemplateBody Template(constr, parents, self, stats)
339
339
ConstrApps ::= ConstrApp {‘with’ ConstrApp}
@@ -355,7 +355,7 @@ SelfType ::= id [‘:’ InfixType] ‘=>’
355
355
EnumBody ::= [nl] ‘{’ [SelfType] EnumStat {semi EnumStat} ‘}’
356
356
EnumStat ::= TemplateStat
357
357
| {Annotation [nl]} {Modifier} EnumCase
358
- EnumCase ::= ` case' (id ClassConstr [` extends' ConstrApps]] | ids)
358
+ EnumCase ::= ‘ case’ (id ClassConstr [‘ extends’ ConstrApps]] | ids)
359
359
360
360
TopStatSeq ::= TopStat {semi TopStat}
361
361
TopStat ::= {Annotation [nl]} {Modifier} TmplDef
0 commit comments