graphqexl v0.1.0-alpha-rc.24 Graphqexl.Tokens

Mostly a databag module containing keywords, tokens and regex patterns related to the GraphQL spec. Also contains functions for fetching them by key.

Link to this section Summary

Functions

Retrieve a token by key

Retrieve an identifier token by key

Retrieve a keyword token by key

Retrieve a token pattern by key

Link to this section Functions

Link to this function

get(key)

(since 0.1.0)
get(atom()) :: String.t() | Map.t()

Retrieve a token by key

Returns: String.t/0 | Map.t

Link to this function

identifiers(key)

(since 0.1.0)
identifiers(atom()) :: String.t()

Retrieve an identifier token by key

Returns: String.t/0

Link to this function

keywords(key)

(since 0.1.0)
keywords(atom()) :: String.t()

Retrieve a keyword token by key

Returns: String.t/0

Link to this function

patterns(key)

(since 0.1.0)
patterns(atom()) :: Graphqexl.Tokens.Regex.t()

Retrieve a token pattern by key

Returns: Regex.t/0