Skip to main content

Module call

Module call 

Source
Expand description

Constructor calls: one argument list, one shape check, one builder (§7.5).

Two callers construct a sep(",", int): the HIR bridge, walking the rowan tree of read sep(",", int), and crate::body, parsing the text of a capture body {xs:sep(",", int)}. They meet here: both produce a CallArg list, and build_call is the only thing that turns one into a ParserAst. Neither the shape rules nor the builders can drift from each other, because there is one of each.

Enums§

CallArg
One argument of a constructor call, as written (§7.5).

Functions§

build_call
Build the ParserAst for ctor(args…), or report every reason it cannot be built.
build_repeated_tail
Build the name: repeated(P) / name: repeated(P, N) marker of a named sections (§7.5).