components/code/src/graphql.helper.js
// A namedKey Token which will decorate the state with a `name`
A namedKey Token which will decorate the state with a `name`
A namedKey Token which will decorate the state with a ` name `
function namedKey(style) {
			return {
				style: style,
				match: function match(token) {
					return token.kind === 'String';
				},
				update: function update(state, token) {
					state.name = token.value.slice(1, -1); 
				}
			};
		}
function namedKey ( style ) { return { style : style , match : function match ( token ) { return token . kind === 'String' ; } , update : function update ( state , token ) { state . name = token . value . slice ( 1 , - 1 ) ; } } ; }
A namedKey Token which will decorate the state with a `name`
A namedKey Token which will decorate the state with a ` name `
// Remove quotes.