@@ -120,11 +120,11 @@ ClassQualifier ::= ‘[’ id ‘]’
120120Type ::= [FunArgMods] FunArgTypes ‘=>’ Type Function(ts, t)
121121 | HkTypeParamClause ‘=>’ Type TypeLambda(ps, t)
122122 | InfixType
123- FunArgMods ::= { ` implicit` | ` erased` }
123+ FunArgMods ::= { ‘ implicit’ | ‘ erased’ }
124124FunArgTypes ::= InfixType
125125 | ‘(’ [ FunArgType {‘,’ FunArgType } ] ‘)’
126- | '(' TypedFunParam {',' TypedFunParam } ')'
127- TypedFunParam ::= id ':' Type
126+ | ‘(’ TypedFunParam {‘,’ TypedFunParam } ‘)’
127+ TypedFunParam ::= id ‘:’ Type
128128InfixType ::= RefinedType {id [nl] RefinedType} InfixOp(t1, op, t2)
129129RefinedType ::= WithType {[nl] Refinement} RefinedTypeTree(t, ds)
130130WithType ::= AnnotType {‘with’ AnnotType} (deprecated)
@@ -328,12 +328,12 @@ DefDef ::= DefSig [‘:’ Type] ‘=’ Expr
328328
329329TmplDef ::= ([‘case’] ‘class’ | trait’) ClassDef
330330 | [‘case’] ‘object’ ObjectDef
331- | ` enum' EnumDef
331+ | ‘ enum’ EnumDef
332332ClassDef ::= id ClassConstr TemplateOpt ClassDef(mods, name, tparams, templ)
333333ClassConstr ::= [ClsTypeParamClause] [ConstrMods] ClsParamClauses with DefDef(_, <init>, Nil, vparamss, EmptyTree, EmptyTree) as first stat
334334ConstrMods ::= {Annotation} [AccessModifier]
335335ObjectDef ::= 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)
337337TemplateOpt ::= [‘extends’ Template | [nl] TemplateBody]
338338Template ::= ConstrApps [TemplateBody] | TemplateBody Template(constr, parents, self, stats)
339339ConstrApps ::= ConstrApp {‘with’ ConstrApp}
@@ -355,7 +355,7 @@ SelfType ::= id [‘:’ InfixType] ‘=>’
355355EnumBody ::= [nl] ‘{’ [SelfType] EnumStat {semi EnumStat} ‘}’
356356EnumStat ::= TemplateStat
357357 | {Annotation [nl]} {Modifier} EnumCase
358- EnumCase ::= ` case' (id ClassConstr [` extends' ConstrApps]] | ids)
358+ EnumCase ::= ‘ case’ (id ClassConstr [‘ extends’ ConstrApps]] | ids)
359359
360360TopStatSeq ::= TopStat {semi TopStat}
361361TopStat ::= {Annotation [nl]} {Modifier} TmplDef
0 commit comments