Documentation
¶
Index ¶
- func ExprRefs(expr *Expr) []string
- func ExprString(expr *Expr) string
- type ActivityDecl
- type Binding
- type ClaimDecl
- type ComputedDecl
- type ContextDecl
- type DurationLiteral
- type Expr
- type ExprKind
- type FactDecl
- type FieldDecl
- type ImportDecl
- type Module
- type ParseError
- type PolicyDecl
- type QueryDecl
- type RuleDecl
- type SignalDecl
- type Trigger
- type TriggerKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExprString ¶
Types ¶
type ActivityDecl ¶
type ContextDecl ¶
type DurationLiteral ¶
type DurationLiteral string
type Expr ¶
type ImportDecl ¶
type Module ¶
type Module struct {
Domain string
Imports []ImportDecl
Signals []SignalDecl
Contexts []ContextDecl
Computeds []ComputedDecl
Facts []FactDecl
Policies []PolicyDecl
Activities []ActivityDecl
Rules []RuleDecl
Claims []ClaimDecl
Queries []QueryDecl
}
type ParseError ¶
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type PolicyDecl ¶
type SignalDecl ¶
type TriggerKind ¶
type TriggerKind string
const ( TriggerSignal TriggerKind = "signal" TriggerChanged TriggerKind = "changed" TriggerTimer TriggerKind = "timer" )
Click to show internal directories.
Click to hide internal directories.