sample-proxies/graphql-sample/graphql-proxy/apiproxy/resources/jsc/graphql.jsc.js
/**
     * Reads an alphanumeric + underscore name from the source.
     *
     * [_A-Za-z][_0-9A-Za-z]*
     */
Reads an alphanumeric + underscore name from the source.
Reads an alphanumeric + underscore name from the source .
function readName(source, start, line, col, prev) {
      var body = source.body;
      var bodyLength = body.length;
      var position = start + 1;
      var code = 0;
      while (position !== bodyLength && (code = charCodeAt.call(body, position)) !== null && (code === 95 || 
      code >= 48 && code <= 57 || 
      code >= 65 && code <= 90 || 
      code >= 97 && code <= 122) 
      ) {
        ++position;
      }
      return new Tok(TokenKind.NAME, start, position, line, col, prev, slice.call(body, start, position));
    }
function readName ( source , start , line , col , prev ) { var body = source . body ; var bodyLength = body . length ; var position = start + 1 ; var code = 0 ; while ( position !== bodyLength && ( code = charCodeAt . call ( body , position ) ) !== null && ( code === 95 || code >= 48 && code <= 57 || code >= 65 && code <= 90 || code >= 97 && code <= 122 ) ) { ++ position ; } return new Tok ( TokenKind . NAME , start , position , line , col , prev , slice . call ( body , start , position ) ) ; }
Reads an alphanumeric + underscore name from the source.
Reads an alphanumeric + underscore name from the source .
// _ // 0-9 // A-Z // a-z