One flow name { ... } declaration, or the one flow { ... } entry point.
More...
#include <cpp/a11/flow/syntax.h>
One flow name { ... } declaration, or the one flow { ... } entry point.
◆ body
| std::vector<NodePtr> a11::flow::syntax::FlowDeclaration::body |
◆ description
| std::string a11::flow::syntax::FlowDeclaration::description |
◆ entry
| bool a11::flow::syntax::FlowDeclaration::entry = false |
Whether this is the file's entry point: flow { ... }, with no name.
A file may hold one. It is what an interpreter runs when handed the file, and it is not addressable: a flow with no name cannot be the target of a run or a call, which is what stops a program's entry point from being something a library flow reaches into or something that recurses into itself.
Its arguments arrive as ports nobody declared – argc and argv – for the same reason main gets them in C: every program of this shape wants them, and a file that had to declare them would say the same two lines every time.
◆ headers
◆ name
| Word a11::flow::syntax::FlowDeclaration::name |
◆ ports
The documentation for this struct was generated from the following file: