sample-proxies/graphql-sample/graphql-proxy/apiproxy/resources/jsc/graphql.jsc.js
/**
     * SchemaDefinition : schema Directives[Const]? { OperationTypeDefinition+ }
     */
SchemaDefinition : schema Directives[Const].
SchemaDefinition : schema Directives [ Const ] .
function parseSchemaDefinition(lexer) {
      var start = lexer.token;
      expectKeyword(lexer, 'schema');
      var directives = parseDirectives(lexer, true);
      var operationTypes = many(lexer, TokenKind.BRACE_L, parseOperationTypeDefinition, TokenKind.BRACE_R);
      return {
        kind: Kind.SCHEMA_DEFINITION,
        directives: directives,
        operationTypes: operationTypes,
        loc: loc(lexer, start)
      };
    }
function parseSchemaDefinition ( lexer ) { var start = lexer . token ; expectKeyword ( lexer , 'schema' ) ; var directives = parseDirectives ( lexer , true ) ; var operationTypes = many ( lexer , TokenKind . BRACE_L , parseOperationTypeDefinition , TokenKind . BRACE_R ) ; return { kind : Kind . SCHEMA_DEFINITION , directives : directives , operationTypes : operationTypes , loc : loc ( lexer , start ) } ; }
SchemaDefinition : schema Directives[Const]?
SchemaDefinition : schema Directives [ Const ] ?