sample-proxies/graphql-sample/graphql-proxy/apiproxy/resources/jsc/graphql.jsc.js
/**
     * ScalarTypeExtension :
     *   - extend scalar Name Directives[Const]
     */
ScalarTypeExtension :
- extend scalar Name Directives[Const]
ScalarTypeExtension : - extend scalar Name Directives [ Const ]
function parseScalarTypeExtension(lexer) {
      var start = lexer.token;
      expectKeyword(lexer, 'extend');
      expectKeyword(lexer, 'scalar');
      var name = parseName(lexer);
      var directives = parseDirectives(lexer, true);
      if (directives.length === 0) {
        throw unexpected(lexer);
      }
      return {
        kind: Kind.SCALAR_TYPE_EXTENSION,
        name: name,
        directives: directives,
        loc: loc(lexer, start)
      };
    }
function parseScalarTypeExtension ( lexer ) { var start = lexer . token ; expectKeyword ( lexer , 'extend' ) ; expectKeyword ( lexer , 'scalar' ) ; var name = parseName ( lexer ) ; var directives = parseDirectives ( lexer , true ) ; if ( directives . length === 0 ) { throw unexpected ( lexer ) ; } return { kind : Kind . SCALAR_TYPE_EXTENSION , name : name , directives : directives , loc : loc ( lexer , start ) } ; }
ScalarTypeExtension :
   - extend scalar Name Directives[Const]
ScalarTypeExtension : - extend scalar Name Directives [ Const ]