File tree Expand file tree Collapse file tree
chapi-ast-typescript/src/main/antlr Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,10 +493,10 @@ formalParameterArg
493493 : decoratorList? accessibilityModifier? ReadOnly? identifierName ' ?' ? typeAnnotation? (' =' singleExpression)? // ECMAScript 6: Initialization
494494 | lastFormalParameterArg
495495 // ([key, value]: [string, string[]])
496- // | arrayLiteral (':' formalParameterList)? // ECMAScript 6: Parameter Context Matching
497- // | objectLiteral (':' formalParameterList)? // ECMAScript 6: Parameter Context Matching
498- // `addThing({ payload }, { call }){}`
499- // | objectLiteral (',' objectLiteral)* // ECMAScript 6: Parameter Context Matching
496+ | arrayLiteral (' :' formalParameterList)? // ECMAScript 6: Parameter Context Matching
497+ | objectLiteral (' :' formalParameterList)? // ECMAScript 6: Parameter Context Matching
498+ // `addThing({ payload }, { call }){}`
499+ | objectLiteral (' ,' objectLiteral)* // ECMAScript 6: Parameter Context Matching
500500 ;
501501
502502lastFormalParameterArg // ECMAScript 6: Rest Parameter
You can’t perform that action at this time.
0 commit comments