TaggedTemplateExpression()

in src/rule-must-colocate-fragment-spreads.js [178:187]


    TaggedTemplateExpression(node) {
      if (utils.isGraphQLTemplate(node)) {
        const graphQLAst = utils.getGraphQLAST(node);
        if (!graphQLAst) {
          // ignore nodes with syntax errors, they're handled by rule-graphql-syntax
          return;
        }
        graphqlLiterals.push({node, graphQLAst});
      }
    }