How to use the graphql-language-service-parser.ParseRules.Selection function in graphql-language-service-parser

To help you get started, we’ve selected a few graphql-language-service-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Mayank1791989 / gql / src / query / _shared / Parsers / QueryParser.js View on Github external
Selection(token, stream) {
      if (token.value === '${') {
        return 'JSInlineFragment';
      }
      return ParseRules.Selection(token, stream);
    },