sample-proxies/graphql-sample/graphql-proxy/apiproxy/resources/jsc/graphql.jsc.js
/**
     * InputValueDefinition :
     *   - Description? Name : Type DefaultValue? Directives[Const]?
     */
InputValueDefinition :
- Description. Name : Type DefaultValue.
InputValueDefinition : - Description . Name : Type DefaultValue .
function parseInputValueDef(lexer) {
      var start = lexer.token;
      var description = parseDescription(lexer);
      var name = parseName(lexer);
      expect(lexer, TokenKind.COLON);
      var type = parseTypeReference(lexer);
      var defaultValue;
      if (skip(lexer, TokenKind.EQUALS)) {
        defaultValue = parseConstValue(lexer);
      }
      var directives = parseDirectives(lexer, true);
      return {
        kind: Kind.INPUT_VALUE_DEFINITION,
        description: description,
        name: name,
        type: type,
        defaultValue: defaultValue,
        directives: directives,
        loc: loc(lexer, start)
      };
    }
function parseInputValueDef ( lexer ) { var start = lexer . token ; var description = parseDescription ( lexer ) ; var name = parseName ( lexer ) ; expect ( lexer , TokenKind . COLON ) ; var type = parseTypeReference ( lexer ) ; var defaultValue ; if ( skip ( lexer , TokenKind . EQUALS ) ) { defaultValue = parseConstValue ( lexer ) ; } var directives = parseDirectives ( lexer , true ) ; return { kind : Kind . INPUT_VALUE_DEFINITION , description : description , name : name , type : type , defaultValue : defaultValue , directives : directives , loc : loc ( lexer , start ) } ; }
InputValueDefinition :
   - Description?
InputValueDefinition : - Description?