nl_tokens: Gets the localized diagnostic head message to use for errors when resolving a decorator as a call expression .
pl_tokens: function getDiagnosticHeadMessageForDecoratorResolution ( node ) { switch ( node . parent . <mask> ) { case 214 /* ClassDeclaration */ : case 186 /* ClassExpression */ : return ts . Diagnostics . Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression ; case 138 /* Parameter */ : return ts . Diagnostics . Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression ; case 141 /* PropertyDeclaration */ : return ts . Diagnostics . Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression ; case 143 /* MethodDeclaration */ : case 145 /* GetAccessor */ : case 146 /* SetAccessor */ : return ts . Diagnostics . Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression ; } }