GraphQL.Lang.Lexer
GraphQL lexer implemented with leex.
Tokenise a GraphQL query
iex> GraphQL.tokenize("{ hello }")
[{ :"{", 1 }, { :name, 1, 'hello' }, { :"}", 1 }]
Summary
Tokenize the input string into a stream of tokens
Functions
Tokenize the input string into a stream of tokens.
iex> GraphQL.tokenize("{ hello }")
[{ :"{", 1 }, { :name, 1, 'hello' }, { :"}", 1 }]