Function buildRemoveArgumentLabelGFT
- buildRemoveArgumentLabelGFT(getTransformableNodes, ruleId): ((match: QueryMatch, options?: FaultTransformationOptions) => null | CodeTransformation)
Parameters
- getTransformableNodes: ((match: QueryMatch) => SyntaxNode[])
- (match): SyntaxNode[]
Returns SyntaxNode[]
- ruleId: string
Builds a FaultTransformationRule.getFaultTransformation that removes the label from a view argument, keeping only the argument itself.