AyeSQL v0.5.3 AyeSQL.Parser View Source

This module defines AyeSQL file parsing.

Link to this section Summary

Types

Contents of the query.

Documentation of the query function.

File name.

Definition of the query in the AST.

Name of the query function.

Functions

Creates several queries from the contents of a file.

Link to this section Types

Link to this type

content()

View Source
content() :: [atom() | binary()]

Contents of the query.

Documentation of the query function.

Link to this type

filename()

View Source
filename() :: binary()

File name.

Link to this type

fun_def()

View Source
fun_def() :: {name(), docs(), content()}

Definition of the query in the AST.

Name of the query function.

Link to this section Functions

Link to this function

create_queries(file)

View Source
create_queries(filename()) :: list() | no_return()

Creates several queries from the contents of a file.