sample-proxies/graphql-sample/graphql-proxy/apiproxy/resources/jsc/graphql.jsc.js
/**
     * If the next token is a keyword with the given value, return that token after
     * advancing the lexer. Otherwise, do not change the parser state and throw
     * an error.
     */
If the next token is a keyword with the given value, return that token after
advancing the lexer. Otherwise, do not change the parser state and throw
an error.
If the next token is a keyword with the given value return that token after advancing the lexer . Otherwise do not change the parser state and throw an error .
function expectKeyword(lexer, value) {
      if (!skipKeyword(lexer, value)) {
        throw syntaxError(lexer.source, lexer.token.start, "Expected \"".concat(value, "\", found ").concat(getTokenDesc(lexer.token)));
      }
    }
function expectKeyword ( lexer , value ) { if ( ! skipKeyword ( lexer , value ) ) { throw syntaxError ( lexer . source , lexer . token . start , "Expected \"" . concat ( value , "\", found " ) . concat ( getTokenDesc ( lexer . token ) ) ) ; } }
If the next token is a keyword with the given value, return that token after
 advancing the lexer.
If the next token is a keyword with the given value return that token after advancing the lexer .