Documentation
¶
Index ¶
- func ValidateFile(f *File) *parse.ErrorList
- type CompositeDecl
- type ConstraintDecl
- type EncryptionDecl
- type FactoryBody
- type FactoryFile
- type File
- type FileKind
- type Ident
- type ImportDecl
- type InputDecl
- type LibraryConfigDecl
- type LibraryFile
- type LocalDecl
- type NodeDecl
- type NodeKind
- type NodeSelector
- type OutputDecl
- type ProjectFile
- type ProjectLockDep
- type ProjectLockFile
- type ProjectLockToolchain
- type ProjectReplace
- type ProjectRequire
- type StackFactoryBlock
- type StackFile
- type StateDecl
- type StateMoveDecl
- type StateMoveRef
- type StringKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFile ¶
Types ¶
type CompositeDecl ¶
type CompositeDecl struct {
S parse.Span
Name Ident
Kind NodeKind
Body FactoryBody
}
type EncryptionDecl ¶
type FactoryBody ¶
type FactoryBody struct {
S parse.Span
Description *parse.StringLit
Inputs []InputDecl
Locals []LocalDecl
Constraints []ConstraintDecl
Imports []ImportDecl
LibraryConfigs []LibraryConfigDecl
StateMoves []StateMoveDecl
Resources []NodeDecl
Data []NodeDecl
Actions []NodeDecl
Outputs []OutputDecl
}
type FactoryFile ¶
type FactoryFile struct {
S parse.Span
Body FactoryBody
}
type File ¶
type File struct {
S parse.Span
Kind FileKind
Path string
Factory *FactoryFile
Stack *StackFile
Project *ProjectFile
ProjectLock *ProjectLockFile
Library *LibraryFile
Comments []parse.Comment
}
type LibraryConfigDecl ¶
type LibraryFile ¶
type LibraryFile struct {
S parse.Span
Exports []CompositeDecl
}
type ProjectFile ¶
type ProjectFile struct {
S parse.Span
UnobinVersion *parse.StringLit
Requires []ProjectRequire
Replace []ProjectReplace
}
type ProjectLockDep ¶
type ProjectLockFile ¶
type ProjectLockFile struct {
S parse.Span
Version *parse.NumberLit
Toolchain *ProjectLockToolchain
Deps []ProjectLockDep
}
type ProjectLockToolchain ¶
type ProjectReplace ¶
type ProjectRequire ¶
type StackFactoryBlock ¶
type StackFile ¶
type StackFile struct {
S parse.Span
Factory *StackFactoryBlock
State *StateDecl
Encryption *EncryptionDecl
Locals []LocalDecl
Parallelism parse.Expr
}
type StateMoveDecl ¶
type StateMoveDecl struct {
S parse.Span
From *StateMoveRef
To *StateMoveRef
}
Click to show internal directories.
Click to hide internal directories.