|
| struct | a11::flow::syntax::Location |
| | The start token's byte span, line, and code-point column. More...
|
| |
| struct | a11::flow::syntax::Word |
| |
| struct | a11::flow::syntax::Constant |
| | A literal or folded literal expression, including nested lists and objects. More...
|
| |
| struct | a11::flow::syntax::TypeExpression |
| |
| struct | a11::flow::syntax::Node |
| | Base of every syntax node: what it is, and where it started. More...
|
| |
| struct | a11::flow::syntax::NodeOf< K > |
| | Assigns a fixed kind to each syntax node type. More...
|
| |
| struct | a11::flow::syntax::ErrorNode |
| | A place the parser wanted a value and did not find one. More...
|
| |
| struct | a11::flow::syntax::Literal |
| | A number, string, boolean, null or duration written out. More...
|
| |
| struct | a11::flow::syntax::Spread |
| | ...expr in a list or object literal. More...
|
| |
| struct | a11::flow::syntax::ListLiteral |
| | [a, ...rest, c]. An item may be a [Spread]. More...
|
| |
| struct | a11::flow::syntax::ObjectLiteral |
| | { "key": expr, ...rest }. More...
|
| |
| struct | a11::flow::syntax::It |
| | it – the value a where/map/group stage is looking at. More...
|
| |
| struct | a11::flow::syntax::Discard |
| | _, a pipe destination that discards its input. More...
|
| |
| struct | a11::flow::syntax::Name |
| | A bare name: a port, a call, a loop variable, a header alias. More...
|
| |
| struct | a11::flow::syntax::Attr |
| | base.name – a call's port, or a key of a value. More...
|
| |
| struct | a11::flow::syntax::Index |
| | base[i] – an element of a list, or a key of an object. More...
|
| |
| struct | a11::flow::syntax::Builtin |
| | name(arg, ...) – one of the language's fixed functions. More...
|
| |
| struct | a11::flow::syntax::Zip |
| | zip or interleave over stream sources. More...
|
| |
| struct | a11::flow::syntax::TypedValue |
| | Tag{...} or expr as Tag – a value made into a type's value. More...
|
| |
| struct | a11::flow::syntax::Unary |
| | not operand. More...
|
| |
| struct | a11::flow::syntax::Binary |
| | left op right for and or == != < <= > >= in + -. More...
|
| |
| struct | a11::flow::syntax::LogTail |
| | Arguments shared by log and logf statements and stages. More...
|
| |
| struct | a11::flow::syntax::Stage |
| | One | name arg stage of a pipeline. More...
|
| |
| struct | a11::flow::syntax::Pipeline |
| | A source expression and the stages its values pass through. More...
|
| |
| struct | a11::flow::syntax::Outcome |
| | status subject; reading it waits for the subject to finish. More...
|
| |
| struct | a11::flow::syntax::ActionId |
| | id subject – the identity assigned to a run or call. More...
|
| |
| struct | a11::flow::syntax::PipelineValue |
| | (stream | stage ...) used where a value is expected. More...
|
| |
| struct | a11::flow::syntax::CallModifiers |
| | The tee/via/timeout/after/with/id/id-into/forward tail. More...
|
| |
| struct | a11::flow::syntax::CallExpression |
| | run/call action(port: pipeline, ...) and its modifiers. More...
|
| |
| struct | a11::flow::syntax::CallExpression::Argument |
| | One argument: the port named, where it was named, and what feeds it. More...
|
| |
| struct | a11::flow::syntax::CallExpression::TargetSuffix |
| |
| struct | a11::flow::syntax::Bind |
| | name = ... – a step the rest of the flow can refer to. More...
|
| |
| struct | a11::flow::syntax::Block |
| | [try] { ... } groups concurrent statements into one outcome. More...
|
| |
| struct | a11::flow::syntax::CallStatement |
| | A call statement whose unnamed outputs are drained. More...
|
| |
| struct | a11::flow::syntax::Pipe |
| | pipeline -> target, target – write a stream into one or more nodes. More...
|
| |
| struct | a11::flow::syntax::SkipTarget |
| | The one reference changed by a counted skip. More...
|
| |
| struct | a11::flow::syntax::Skip |
| | skip n reference – discard the first n values for every reader. More...
|
| |
| struct | a11::flow::syntax::Wait |
| | Wait for one subject, the first of several, or all of several. More...
|
| |
| struct | a11::flow::syntax::Close |
| | close target – hold until a node's writers are done and its buffer has landed. More...
|
| |
| struct | a11::flow::syntax::Cancel |
| | cancel name – ask a called action to stop, cooperatively. More...
|
| |
| struct | a11::flow::syntax::Abort |
| | abort node [code] [message] – end a node with a failure. More...
|
| |
| struct | a11::flow::syntax::Fail |
| | fail [code] [message] – end the flow with a status. More...
|
| |
| struct | a11::flow::syntax::Log |
| | log [level] [what] / logf [level] "format" [args] – write to the flow's own log. More...
|
| |
| struct | a11::flow::syntax::ForEach |
| | for name[, name...] in pipeline [parallel n] { ... }. More...
|
| |
| struct | a11::flow::syntax::Repeat |
| | repeat [name = expr] [max n] { ... }. More...
|
| |
| struct | a11::flow::syntax::Carry |
| | name <- pipeline – what the next pass of a repeat carries. More...
|
| |
| struct | a11::flow::syntax::Until |
| | until expr / while expr – when a repeat stops. More...
|
| |
| struct | a11::flow::syntax::If |
| | if expr { ... } else { ... }. More...
|
| |
| struct | a11::flow::syntax::Nodes |
| | nodes name [{ ... }] – declare a temporary node map. More...
|
| |
| struct | a11::flow::syntax::NodeExpression |
| | node(id) [in map] – a node of this flow's own. More...
|
| |
| struct | a11::flow::syntax::PortDeclaration |
| | in/out name: type [stream] [required]. More...
|
| |
| struct | a11::flow::syntax::HeaderDeclaration |
| | header "x-name" [as alias] [default value]. More...
|
| |
| struct | a11::flow::syntax::ImportedSymbol |
| |
| struct | a11::flow::syntax::Import |
| | A source module bound to a namespace or selected local symbols. More...
|
| |
| struct | a11::flow::syntax::ModuleDeclaration |
| | A namespace contribution in one source document. More...
|
| |
| struct | a11::flow::syntax::ExportDeclaration |
| | A public alias of an existing namespace member. More...
|
| |
| struct | a11::flow::syntax::FlowDeclaration |
| | One flow name { ... } declaration, or the one flow { ... } entry point. More...
|
| |
| struct | a11::flow::syntax::FieldRange |
| | A field bound such as 1..200, 1.., or ..200. More...
|
| |
| struct | a11::flow::syntax::FieldDeclaration |
| | One name: type [modifiers] ["description"] field of a struct. More...
|
| |
| struct | a11::flow::syntax::DtoDeclaration |
| | One struct name { ... } declaration: a shape a port may be typed with. More...
|
| |
|
| Location | a11::flow::syntax::LocationOf (const Token &token) |
| | The location a token occupies.
|
| |
| std::string_view | a11::flow::syntax::ConstantKindName (Constant::Kind kind) |
| | The spelling of a constant's kind in the output formats.
|
| |
| std::string | a11::flow::syntax::SourceTypeName (std::string_view name) |
| | A port or cast type, such as string, list[a11.NodeFragment], or "audio/wav".
|
| |
| std::string | a11::flow::syntax::SourceFunctionName (std::string_view name) |
| |
| std::string | a11::flow::syntax::RuntimeActionName (std::string_view name) |
| |
| std::string | a11::flow::syntax::ActionSource (std::string_view name) |
| |
| std::string_view | a11::flow::syntax::NodeKindName (NodeKind kind) |
| | The name of a node kind in the output formats, in kebab case.
|
| |
| template<typename T > |
| const T * | a11::flow::syntax::As (const Node *node) |
| | Returns node as T, or null when its kind differs.
|
| |
| template<typename T > |
| T * | a11::flow::syntax::As (Node *node) |
| |
| bool | a11::flow::syntax::IsAnyOf (const Node *node, std::initializer_list< NodeKind > kinds) |
| | Whether a node is one of the kinds given.
|
| |
| std::string_view | a11::flow::syntax::PortDirectionName (PortDirection direction) |
| | "inputs" or "outputs".
|
| |
| bool | a11::flow::syntax::IsPureLiteralExpression (const Node &node) |
| | Whether a bounded expression contains only literal data and pure operators.
|
| |
| std::optional< Constant > | a11::flow::syntax::ConstantValue (const Node *node) |
| | Folds a literal expression, or returns nullopt for runtime values.
|
| |
| void | a11::flow::syntax::VisitChildren (const Node &node, const std::function< void(const Node &)> &visit) |
| | Visits direct child nodes in source order.
|
| |
| void | a11::flow::syntax::VisitSubtree (const Node &node, const std::function< void(const Node &)> &visit) |
| | Visits a subtree iteratively, starting with node.
|
| |
| void | a11::flow::syntax::VisitMutableSubtree (Node &node, const std::function< void(Node &)> &visit) |
| | Walk an exclusively owned syntax tree for native linking/editing.
|
| |
| std::optional< std::string > | a11::flow::syntax::DottedName (const Node *node) |
| | Returns a dotted Name/Attr chain, or nullopt for other nodes.
|
| |