| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SuperUserSpark.Language.Types
- type CardName = String
- type Source = FilePath
- type Destination = FilePath
- data Card = Card {}
- data Declaration
- newtype CardNameReference = CardNameReference CardName
- data CardFileReference = CardFileReference FilePath (Maybe CardNameReference)
- data CardReference
- data SparkFile = SparkFile {
- sparkFilePath :: Path Abs File
- sparkFileCards :: [Card]
Cards
type Destination = FilePath Source #
Constructors
| Card | |
Fields | |
Declarations
data Declaration Source #
A declaration in a card
Constructors
| SparkOff CardReference | Spark off another card |
| Deploy Source Destination (Maybe DeploymentKind) | Deploy from source to destination |
| IntoDir Directory | Deploy into a directory |
| OutofDir Directory | Deploy outof a directory |
| DeployKindOverride DeploymentKind | Override the deployment kind |
| Alternatives [Directory] | Provide a list of alternative sources |
| Block [Declaration] | A scoped block of declarations |
Instances
Card references
newtype CardNameReference Source #
Reference a card by name (inside a file)
Constructors
| CardNameReference CardName |
data CardFileReference Source #
Reference a card by the file it is in and therein potentially by a name reference
Constructors
| CardFileReference FilePath (Maybe CardNameReference) |
data CardReference Source #
Union card reference
Constructors
| CardFile CardFileReference | |
| CardName CardNameReference |
Instances