Documentation
¶
Overview ¶
nexssp/flow/compiler/ast.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomExpr ¶
type AtomExpr struct {
Name string // e.g. "github.issue"
Profile string // from :arch
Prompt string // from @security
Targets []string // from #pkg
Excludes []string // from ~testdata
Params map[string]string // from (code=pack.content)
Inputs map[string]string // from (code=pack.content) – same as params but semantic
Modifiers []string // from :retry=3 :idempotent
}
type ConditionalExpr ¶
type Expr ¶
type Expr interface {
Node
// contains filtered or unexported methods
}
Expr is the root of all expression nodes.
type FallbackExpr ¶
type ParallelExpr ¶
type ParallelExpr struct {
Children []Expr
}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseExpression ¶
type PipelineExpr ¶
type ProjectionExpr ¶
type ProjectionExpr struct {
Raw string // e.g. `prompt: "hello" + name`
}
ProjectionExpr holds the raw content inside { ... }. We keep it as a raw string – expr-lang will parse it later.
Click to show internal directories.
Click to hide internal directories.