[][src]Module voile::syntax::surf

Surface syntax and the parser (based on pest).

Modules

ast

Surface syntax tree.

parse

Code to surface syntax tree, based on pest.

Structs

Decl

Surface syntax tree node: Declaration.

Param

Surface syntax tree node: Parameter.

Pragma

Enums

DeclKind

Indicates that whether a Decl is a type signature or an implementation.

Expr

Surface syntax tree node: Expression.

Functions

parse_expr_err_printed

Parse a string into an optional expression and print error to stderr.

parse_str

Parse a string into an optional expr based on the $root_rule rule:

parse_str_err_printed

Parse a string into an optional declaration list and print error to stderr.