|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
A native source expression whose emitter supplies required grouping. More...
#include <cpp/a11/flow/document.h>
Public Member Functions | |
| Expression | Take (bool optional=false) const |
| absl::StatusOr< Expression > | Transfer (const Expression &destination, bool tolerant=false) const |
| absl::StatusOr< Expression > | Cast (const syntax::TypeExpression &type) const |
| absl::StatusOr< Expression > | Index (const Expression &index) const |
| absl::StatusOr< Expression > | Field (std::string_view name) const |
| absl::StatusOr< Expression > | Pipeline (std::string_view stage, std::optional< Expression > argument={}) const |
| absl::StatusOr< Expression > | PipelineInvoke (std::string_view action, std::vector< std::pair< std::string, Expression > > arguments, const CallOptions &options) const |
| const std::string & | source () const |
Static Public Member Functions | |
| static absl::StatusOr< Expression > | Reference (std::string name) |
| static absl::StatusOr< Expression > | Literal (nlohmann::json value) |
| static absl::StatusOr< Expression > | Invoke (std::string_view action, std::vector< std::pair< std::string, Expression > > arguments={}, bool remote=false, bool tolerant=false, std::string_view node_map={}) |
| static absl::StatusOr< Expression > | InvokeWith (std::string_view action, std::vector< std::pair< std::string, Expression > > arguments, const CallOptions &options) |
| static absl::StatusOr< Expression > | Object (std::vector< std::pair< std::string, Expression > > fields) |
| static absl::StatusOr< Expression > | Array (std::vector< Expression > items) |
| static absl::StatusOr< Expression > | Builtin (std::string_view name, std::vector< Expression > arguments) |
| static absl::StatusOr< Expression > | Node (std::optional< Expression > id={}, std::string_view node_map={}) |
| static absl::StatusOr< Expression > | Completion (std::string_view operation, const Expression &subject) |
A native source expression whose emitter supplies required grouping.
|
static |
|
static |
| absl::StatusOr< Expression > a11::flow::Expression::Cast | ( | const syntax::TypeExpression & | type | ) | const |
|
static |
| absl::StatusOr< Expression > a11::flow::Expression::Field | ( | std::string_view | name | ) | const |
| absl::StatusOr< Expression > a11::flow::Expression::Index | ( | const Expression & | index | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
| absl::StatusOr< Expression > a11::flow::Expression::Pipeline | ( | std::string_view | stage, |
| std::optional< Expression > | argument = {} |
||
| ) | const |
| absl::StatusOr< Expression > a11::flow::Expression::PipelineInvoke | ( | std::string_view | action, |
| std::vector< std::pair< std::string, Expression > > | arguments, | ||
| const CallOptions & | options | ||
| ) | const |
|
static |
|
inline |
| Expression a11::flow::Expression::Take | ( | bool | optional = false | ) | const |
| absl::StatusOr< Expression > a11::flow::Expression::Transfer | ( | const Expression & | destination, |
| bool | tolerant = false |
||
| ) | const |